Inserting variables in RH for Word

Is there a quick way to insert variables to be able to
dynamically change text while authoring in Word for RH for Word?
I'm used to FrameMaker and it is a simple process. When I read MS
Word Help I couldn't get a quick answer on how to insert variables.
For example, we want to use variables for company names, product
versions, etc. Any help is appreciated.
- Azi

quote:
Originally posted by:
azi_us
Is there a quick way to insert variables to be able to
dynamically change text while authoring in Word for RH for Word?
I'm used to FrameMaker and it is a simple process. When I read MS
Word Help I couldn't get a quick answer on how to insert variables.
For example, we want to use variables for company names, product
versions, etc. Any help is appreciated.
- Azi
The way I do it is to use document properties. Assuming that
it's Word 2003 or lower (not sure where it is in 2007) go to File
-> Properties. There are a bunch of built-in properties, or you
can create your own on the Custom tab.
You can then use Insert -> Field. One of the fields that
you can insert is Doc Property, which allows you to add the values
that you've put in as document properties. When you select the
document and hit [F9], the whole thing will update with the new
field values.

Similar Messages

  • Inserting variables

    I found out how to do this in RH HTML but it's RH for Word
    that I need to insert variables. Is there a way to add variables in
    RH for Word?
    =================================
    Is there a quick way to insert variables to be able to
    dynamically change text while authoring in Word for RH HTML? I'm
    used to FrameMaker and it is a simple process. When I read MS Word
    Help I couldn't get a quick answer on how to insert variables. For
    example, we want to use variables for company names, product
    versions, etc. Any help is appreciated.
    - Azi

    Like this:
    $workbook.worksheets.item("YourWorkSheet").cells.item($lastrow,1) = $name
    $workbook.worksheets.item("YourWorkSheet").cells.item($lastrow,2) = $address
    $workbook.worksheets.item("YourWorkSheet").cells.item($lastrow,3) = $phone
    As I described in my initial response, $lastrow is the row, followed by the column number, separated by a comma.  Instead of incrementing the $lastrow variable, increment the column number to insert the data across a single row.
    I hope this post has helped!

  • How to insert stress marks in cyrillic mac for word 2011

    Hello.  I have a desktop mac (OS X 10.9.1), running mac for word 2011 and I work in Cyrllic fonts, primarily TImes New Roman and Cambria.  I need to insert stress marks (acute accents) on Cyrillic vowels Я Ы У Ю И Э as well as A E O.  None of the options I have seen on a google search help (holding down the e key, trying to find the Unicode range 000030 etc under the gear wheel in character viewer).  Are there any other options available?
    Thank you in advance!

    The quality of the result for this kind of thing depends a lot on the app and the font, so you may have to experiment.  Word is usually the worst app.
    Try TextEdit first, typing the Cyrillic and then double clicking on 0301 in Character Viewer after the base charcter:  Я́ Ы́ У́ Ю́ И́ Э́ Á É Ó.  Start with the font Lucida Grande and try others.  Try copy/paste a good result into Word.
    There is also a forum devoted entirely to Word issues at
    http://answers.microsoft.com/en-us/mac/forum/macword

  • How to insert a Chart using Template Builder for Word 2007

    Hello,
    I am trying to insert a chart in my report, but the OK button in the Chart dialog box is disabled. I am able to move the data but OK button would never become available.
    Does anybody knows what happend?
    I' using BI Publisher 10.1.3.4 and Word 2007
    Any help would be really appreciated :)
    Regards,
    Blanca

    Hi,
    Probably this will help you.
    Uninstall the template builder for word and restart you system and re-install it.
    Because this is add in component in MS Word.So some times this installation is not perfect.Try it once.
    I hope this will work

  • Need to search for words with similar meaning

    HI,
    I want to search for words which are similar in meaning,
    for example, search with the keyword LIME should give LIME , LEMON etc.
    Can it be done using the inbuilt thesaurus?

    I don't know how similar the example that you provided is to your actual problem.  Synonyms are not the only relations that you can set.  You an also use related terms and hierarchies using broader and narrower terms.  In the following example, I have created citrus as a broader term and created lemon, lime, and orange as narrower terms underneath citrus.  I have them demonstrated how you can query to return all items from the same category that lemon is in, by first finding the broader term citrus above it, then searching for all narrower terms underneath that.  I have included some intermediary results that you don't need to run, just for better understanding of how the query is formed.
    SCOTT@orcl12c> create table test_tab
      2    (test_col  varchar2(60))
      3  /
    Table created.
    SCOTT@orcl12c> insert all
      2  into test_tab values ('lemon')
      3  into test_tab values ('lime')
      4  into test_tab values ('orange')
      5  into test_tab values ('toaster oven')
      6  select * from dual
      7  /
    4 rows created.
    SCOTT@orcl12c> create index test_tab_idx on test_tab (test_col) indextype is ctxsys.context
      2  /
    Index created.
    SCOTT@orcl12c> begin
      2    ctx_thes.create_thesaurus ('test_thes');
      3    ctx_thes.create_relation ('test_thes', 'lemon', 'bt', 'citrus');
      4    ctx_thes.create_relation ('test_thes', 'lime', 'bt', 'citrus');
      5    ctx_thes.create_relation ('test_thes', 'orange', 'bt', 'citrus');
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> variable g_search varchar2(100)
    SCOTT@orcl12c> exec :g_search := 'lemon'
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> select ctx_thes.bt (:g_search, 1, 'test_thes') from dual
      2  /
    CTX_THES.BT(:G_SEARCH,1,'TEST_THES')
    {LEMON}|{CITRUS}
    1 row selected.
    SCOTT@orcl12c> select 'nt(' ||
      2            replace (ctx_thes.bt (:g_search, 1, 'test_thes'), '|', ', 1, test_thes)|nt(')
      3            || ', 1, test_thes)'
      4  from  dual
      5  /
    'NT('||REPLACE(CTX_THES.BT(:G_SEARCH,1,'TEST_THES'),'|',',1,TEST_THES)|NT(')||',
    nt({LEMON}, 1, test_thes)|nt({CITRUS}, 1, test_thes)
    1 row selected.
    SCOTT@orcl12c> select * from test_tab
      2  where  contains
      3            (test_col,
      4            'nt(' ||
      5            replace (ctx_thes.bt (:g_search, 1, 'test_thes'), '|', ', 1, test_thes)|nt(')
      6            || ', 1, test_thes)') > 0
      7  /
    TEST_COL
    lemon
    lime
    orange
    3 rows selected.

  • Inserted value too large for column error while scheduling a job

    Hi Everyone,
    I am trying to schedule a PL SQL script as a job in my Oracle 10g installed and running on Windows XP.
    While trying to Submit the job I get the error as "Inserted value too large for column:" followed by my entire code. The code is correct - complies and runs in Oracle ApEx's SQL Workshop.
    The size of my code is 4136 character, 4348 bytes and 107 lines long. It is a code that sends an e-mail and has a +utl_smtp.write_data([Lots of HTML])+
    There is no insert statement in the code whatsoever, the code only queries the database for data...
    Any idea as to why I might be getting this error??
    Thanks in advance
    Sid

    The size of my code is 4136 character, 4348 bytes and 107 lines long. It is a code that sends an e-mail and has a utl_smtp.write_data(Lots of HTML)SQL variable has maximum size of 4000

  • How can I edit an Automator action for Word?

    I'm running Word 2008 on a Macbook Pro, Mac OS 10.5.
    Word comes with a selection of Automator actions, including one to find and replace text in Word. I often want to convert standard numerals to old-style numerals, which are part of the extended glyphs set in fonts I use. Automator will allow me to set up ten find/replace actions (for the numbers 0-9) that successfully replace all the numerals with old-style numerals. But it only does it for the main body of the document, not for the footnotes. I need to be able to do it for all the footnotes.
    I thought I might find a workaround by adding an AppleScript to my workflow, which would shift the focus in Word to the footnotes and rerun the find/replace actions. I mapped the menu item View/Footnotes to the keystroke command-) and inserted this AppleScript into the Automator workflow:
    tell application "Microsoft Word"
    tell application "Microsoft Word" to activate
    tell application "System Events"
    tell process "Microsoft Word"
    keystroke ")" using command down
    end tell
    end tell
    end tell
    But the find/replace actions simply repeat what they'd done before, converting the numerals in the main body but not in the footnotes. I then thought that perhaps I should have an AppleScript to do the find/replace itself, once the footnotes have been selected, so I created the following (command-H accesses the find/replace dialog box in Word 2008):
    tell application "Microsoft Word"
    tell application "Microsoft Word" to activate
    tell application "System Events"
    tell process "Microsoft Word"
    keystroke "H" using command down
    keystroke "1"
    keystroke tab
    keystroke ""
    end tell
    end tell
    end tell
    The character after the fourth keystroke command is the glyph for old-style numeral 1. For some reason Word reinterprets this as the letter a. So using AppleScript I can only replace the numerals 1-9 with the letters a-i.
    I'm pretty hopeless at even this very basic level of programming, but I presume that there's something in the Automator action 'Find and replace in Word' that specifically tells it not to look anywhere but the footnotes. I also presume it's possible to insert a command to tell it to operate on the footnotes (and headers and footers: everywhere!) too.
    Does anyone know a way to edit an Automator action? I'm willing to experiment and fiddle with one until I find a way that works, if nobody knows the exact changes that I'd need to make, but I just don't know how to edit an Automator action in the first place. A bit of googling suggests that I could do it in XCode, and that that is bundled with my Mac, but I don't have it.
    This all used to work when Office used to allow VBA (and I was using a horrible Windoze machine). Maybe someone would prefer just to find a way of creating a solution our of the old code, so here's one part of what I used (to change the number 1):
    For Each aStory In ActiveDocument.StoryRanges
    With aStory.Find
    .ClearFormatting
    With .Replacement
    .ClearFormatting
    End With
    .Execute FindText:="1", ReplaceWith:=ChrW(63281), _
    Format:=True, MatchCase:=True, Replace:=wdReplaceAll
    End With
    Next aStory
    Thanks in advance for any help.

    Thanks to all three contributors for their generous help so far. Mac people are lovely.
    BDAqua's suggestion wouldn't work, I think, because copying footnote text into another application and then back into Word would lose all the associations between footnote references in the body and the footnotes themselves. I wish I could do what Klaus1 says, but Word 2008 won't allow the creation of Macros any more. They've shut off support for their creation. Nice MS. red_menace's suggestion seems very plausible and I'll look into a way of mapping the old style numerals to specific keystrokes. That might do it.
    Reflecting on what you all said, I looked again through Word's help menus and eventually got pointed towards this page of 'help': <http://tinyurl.com/6398l6>. This is completely impenetrable for me, though it does compare a VBA script for Word 2004 to an AppleScript. This encourages me to hope that it should be possible to translate my original VBA script (part of which I included in my first message) into AppleScript, though I don't know how to do it because I don't really understand the language in the first place (the VBA script was put together by someone else).

  • Unable to see columns of Data Model in Template Builder for Word.

    Experts,
    My customer has defined Data Model,
    and when Ct is trying to insert fields into their documents,
    the columns in the Data Model can't been seen in Template Builder for Word.
    (in tool bar; Oracle BI Publisher > Insert > Field)
    The details is as follow;
    (Data Model)
    Name : TEST
    Type : SQL Query
    SQL Query : select case_id,case_name from TEST where case_id = :p_case_id and serious_flag = 'Y';
    'p_case_id' is taken from LOV.
    (sample data in TEST table)
    CASE_ID CASE_NAME SERIOUS_FLAG
    1 case1
    2 case2 N
    3 case3 Y
    In this case, CASE_ID and CASE_NAME can't be seen in Template Builder.
    But we can see the columns when the sample data is as follow;
    CASE_ID CASE_NAME SERIOUS_FLAG
    1 case1 Y <-(*)
    2 case2 N
    3 case3 Y
    I mean, the data of the first row (in this case, case_id=1) is hit by the SQL query,
    we can see the columns in Template Builder.
    I'd like to know whether it is an intended behavior.
    Regards.

    Hi,
    I reformed the sample data in TEST table.
    In this case,the columns in the Data Model can't been seen in Template Builder for Word.
    CASE_ID CASE_NAME SERIOUS_FLAG
    1     case1
    2     case2     N
    3     case3     Y
    But we can see the columns when the sample data is as follow;
    CASE_ID CASE_NAME SERIOUS_FLAG
    1     case1     Y     &lt;=(*)
    2     case2     N
    3     case3     Y
    In fact, when the data of the first row (in this case, case_id=1) is hit by the SQL query,
    we can see the columns in Template Builder.
    Any information would be appreciated.
    Thanks in advance.

  • Inserting Multiple Page PDF in Word Document

    I've been searching for an answer to what I thing ought to be a rather simple question and I can find nothing. I have a couple of users who have attempted to insert a multiple page PDF into a Word document and found that only the first page of the PDF
    shows up in their document. Is there any method to insert multiple page PDFs into Word as multiple pages without splitting the PDF into individual single page files and inserting individually?
    Thanks...Ray

    A quick and dirty way to do this is to open the pdf document in question with word separately.   You get the following warning message.
    I can then select all and copy/paste in to my word document.
    The few pdfs I tried this with pretty much turned in to all images when I did this, but it worked my purposes.
    I did end up having to resize one that didn't seem to want to fit when I pasted it in.  There may be a method to select an image and automatically fit it within the margins of the page it is on that would help that.
    The file size on my resulting word document seemed to grow quite a bit as well.  Again, not really an issue in my case though.

  • Flash Animations (.swf) with RoboHelp for Word

    Hello everybody,
    Sorry for my english ..... but I need an information. Is it
    possible to insert a "Shockwave Flash Object" (.swf) in a RoboHelp
    project (For Word) ?
    Today, I can just insert movies with the extension (.avi)
    Could you help me please ?

    I've know RoboHelp have issues finding Word or working with the wrong security settings. What I have not known it do is affect the running of Word when Word is run alone. For that reason, I think your problem is with Word.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Converting RoboHelp for Word to RoboHelp HTML (v8)

    I have a RoboHelp for Word (started at v6, converted to v7, and now at v8) project that I want to convert to a RoboHelp HTML v8 project.
    The RoboHelp for Word V8 looks good, works great and builds good looking WebHelp and MS Html Help finished outputs! But, I can't seem to figure out how to embed Captivate App Demos (SWF) into the project. Another post in these forums indicated that this is easy with RoboHelp HTML; and after some testing, indeed it is! Great.
    Now - the question is, how do I get my existing (looks good, feels great) RoboHelp for Word V8 project imported into RoboHelp HTML V8?
    I made a copy of my RHWord project directory (so as not to screw anything up) and then opened RHHTML and chose to import an existing HPJ project. When asked whether to keep the project file XPJ or go to HHP, I chose HHP.
    During the conversion, I get lots of "images not valid; invalid chars" on GIF files that RHWord has no problem with. It will not display nor publish these GIF files. Actually, it does display some of the GIFs in the RHHTML dev env, but then doesn't publish them!
    Also, during the conversion, it asks if you want a single CSS for each file or one CSS based on one of the WORD docs from the RHWord project. The default was the former, so I chose it. After the conversion, many of the topics have CSS data that appears at the top (e.g. long list of font names) that end up getting published also. So why did this happen?
    Also, after the conversion, many of the topics have non-displayable characters that do not show up in the RHWord version; source or published version.
    So - my question is, how do I correctly go from a RHWord project that seems to edit and publish just fine to a RHHTML project cleanly?
    I have tried to be as detailed as possible on each of these issues, but if more is required, let me know.
    Thanks much for your assistance,
    Jeff
    Message was edited by: jonestech

    The original post included a complaint:
    "After the conversion, many of the topics have CSS data that appears at the top (e.g. long list of font names) that end up getting published also"
    I didn't spot an answer to this part of the problem.  I may have missed it
    I see this also in importig a RH8 WinHelp project for conversion to WebHelp. It's no big deal to just delete the font list in projects that have just a single original Word doc, but I have a number of projects that each contain hundreds of Word docs, and the font list is inserted tt the top of each converted htm file.
    So I am motivated to find a solution...
    Any ideas RH troops???

  • Inserting variable text - partial filename

    Our filenames are in this format:
    12345_Something_Something.indd
    InDesign can insert the entire filename as a text variable.
    What we want is for it to only insert the first 5 numbers – everything before the underscore — as a text variable. It would need to change every time the template is saved with a new filename. I’m thinking it’s possible to write a Javascript extension to do this in InDesign. I just don’t know Javascript at all.
    1) Is this even possible?
    2) What resources are available to help me get this accomplished?
    3) What is considered reasonable compensation for this project?
    Thanks for your help!

    Sychronization works by redefining same-named styles, variables, etc. to all use the same definition as the source document, so for example you might have a variable named <header> which in one file was a running header (character style) type, in another a running header (character style), but based on a different character style, and in yet another document is would be based on last on page instead of first on page, or a similar situation. Synching would cause the variable to look for the same information across all docs.
    That said, it sounds like this might be useful for adding a book file name, but there is a subtle difference. In the case of a normal variable, the information it picks up must be in the document where the variable is located. A running header variable ont he first page of a file in a book, for example, cannot pick up the information from the last page of the previous file in the book. Variables are self-contained within the files.
    You COULD define a custom text variable, perhaps with the book filename, and add it to all the documents, but it will not automatically update if you change the name of the book file.

  • RH8 for Word - Strange page breaks and non-scoll headers

    RH8 and Word 2007 generating WinHelp 2000.
    Normal page breaks are full page width.
    When I insert one in manually, it shows as only 2 inches wide.
    A tiopic with this short break does not show as a non-scroll header and does not get included in the browse sequence
    Any ideas folks?

    Funny you should ask as I've been trying to figure this out too!
    This is a Word 2007 issue - I assume you are using Office 2007? I am using RH7, but I believe my solution will work for you because it is Word, not RH.
    Anyhow, assuming my Word 2007 assumption is spot-on, you need to change word options.
    Go to the Office button, select Word Options.
    Select Advanced.
    Scroll to bottom of the window and look for Compatibility options (very bottom of the window).
    Expand the layout options.
    Check "don't split apart page break and paragraph mark". (You can apply this to the current open doc you see or all docs - if all docs, you will probably change the global normal template, which you may not want to do.)
    Click Okay.
    Note, if you go to recheck the setting, the format is now listed as "custom".
    Specifically, what was happening is the page break was taking on a "normal" style with 0pts before and after. This caused for me a big gap between the top of the help window and my heading 1 style. (I have my Heading 1 style set to 6pt before and 2pt after and font is 12pt.) Changing the above makes the page break itself take on the Heading 1 style which then also expands across the draft window instead only a couple inches. Other than affecting how the Heading 1 might appear in the compiled help system, I don't see any probelm with using the page break with the normal style applied to it, however, it is a little disconcerting. I noticed this particularly in the Outline view as I sort the pages in my the doc alphabetically based on Heading 1 so I can locate info easily by client name. When I used the "normal" or should I say "abnormal" style page break, these page breaks were excluded from the sort and I had no page breaks! (At least there is still an undo option!)
    I'm not sure, but you may need to modify the robohelp.dot template to keep this permanent for your robohelp for word help systems.
    In addition, your heading style probably does not have the paragraph format setting set to "keep with next", so change the style and that should add the non-scroll to the header.
    One final piece of advice, have the "developer" tab showing in the ribbon. This allows you to access the template and see the styles in your doc. I would  uncheck the "automatically update" option so that when you reopen the doc, it doesn't lose any doc specific style changes you made.
    bb

  • Inserting variables into oracle

    how do you creat insert statements in oracle using variables? it won't accept this statement
    stmt.executeUpdate("INSERT into T_LINKMANAGER(LMID,LMNAME,LMURL,LMFLAG,LMHITS,LMCATEG) VALUES(ct,aname,aurl,'false',0,acat)");
    giving a column not allowed here error

    If you're new to this, you should ESPECIALLY learn to use bind variables.
    There are times when experts know not to use bind variables, but for 90-99% of all SQL, and 99.9% of all inserts, bind variables should be used.
    Bind variables are what grownup developers use. They:
    1) usually make your code run much faster in the long run, most definitely so on Oracle
    2) make your code more secure; search the web for "SQL injection" to see why
    3) often make your code easier to code; you don't have to worry about embedded single-quotes in your data breaking your SQL
    Where I work, when we interview for new Java developers, if they claim any JDBC knowledge at all, we ask them to write a sample. If they don't use bind variables, they drastically reduce their chances of getting the job.
    Back to your original query:
    1) when asking help in a forum it's ALWAYS better to cut and paste the full original error message than to paraphrase it; there are often clues that get omitted in a paraphase
    2) In your SQL:"INSERT into T_LINKMANAGER(LMID,LMNAME,LMURL,LMFLAG,LMHITS,LMCATEG) VALUES(ct,aname,aurl,'false',0,acat)"ct, aname, aurl, and acat are being interpreted as Oracle column names.
    If those are supposed to be literal values, you must write them as 'ct', etc.
    If those are Java String variables that you want to embed in your SQL, you need to do: "INSERT into T_LINKMANAGER(LMID,LMNAME,LMURL,LMFLAG,LMHITS,LMCATEG) VALUES('" +ct+"','" + aname + "','"  ...If there's ever ANY chance that your Java variables will ever have a ' (single-quote) character in them, then before the SQL statement is built, you have to escape the embedded ' (convert ' to '' (single-quote single-quote) ). To avoid this common headache, use bind variables.
    Actually, for heavily used code, building up a String with "+" is also bad; it generates excessive amounts of intermediate values that have to be garbage collected, thereby slowing your throughput. If you just have to use dynamically built SQL (you should use bind variables instead), then you should build the string in a StringBuffer and convert it to a String at execution.

  • EXEC SQL Error: ORA-01401: Inserted value too large for column

    Getting this SQL Error: ORA-01401: Inserted value too large for column..on an EXEC SQL Insert statement when writing to an
    external Oracle DB from SAP.
    On further analysis..it appears that this happens to the fields..when the string length matches the field length.
    Example:  Plant field is defined as char(4) on the SAP side and it is a Varchar2(4) on the Oracle side.
    When a value like '1015' is passed thru a variable in the insert statement then this ORA-01401 error pops up.
    No error:
       - if the value '1015' is passed directly in the insert statement to the external table  (or)
       - when a value with 3 chars or less(like the first three chars..101) is passed thru a variable  defined as 'Plant(4) type c'.
       - when using EXEC sql within SAP
       - when reading from the external db table
    This was working ok until the  Oracle Patch P9147110 was installed recently.
    Any suggestions !

    Hello Dvas,
    what's the characterset of your external database?
    What's the column definition in your external database (byte or character based)?
    If you use a characeterset like UTF8 it is possible, that one character needs more than one byte and then you will run into such kind of issues if the definition is too small.
    Regards
    Stefan

Maybe you are looking for

  • How to install windows 7 on a macbook through usb drive

    So My Cd Drive is broken, And The only way to install windows is to either delete my whole hard drive and make it so I boot from the bios of the motherboard, but I don't know what kind of key to press to go into the bios of the motherboard once I del

  • ATI Radeon HD 4870 vs ATI Radeon HD 5870

    I have an early 2009 Mac Pro with 8 cores and the upgraded ATI Radeon HD 4870 graphics card. I see that the 2010 Mac Pros have an option for the ATI Radeon HD 5870. Apparently this card will eventually be available as a kit that will work in my compu

  • Is it possible to make links in PS  Photo Gallery point to original images?

    I want to be able to make links in Photoshop Photo Gallery point to the original tif image for download, rather than to the large jpg. Is this doable? CS 4 Macintosh G5 OS 10.4.11

  • Everything's twice the normal size ...

    and I can't do anything. It seems to function normally when I can manage to move the screen around to see what I'm doing, but everything's huge so I can only see half as much as I normally would. I've tried turning it on and off, and I know my softwa

  • Randomly logged out

    Lately I have experienced being logged out at random intervals on my laptop. That is, after some time (of activity or inactivity) I get logged out and Slim is executed. This is the normal behaviour when killing X manually with ctrl-alt-backspace, so