Results 1 to 5 of 5
  1. #1
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to... (Word 2000)

    Last year I created a template that, among other things, contained the (macro?/field?/whatnot?):

    {MACROBUTTON NoMacro [Click here to enter date...]}

    I want to do something similar in a new template but I can't find anything in my reference material on how I did this.

    1: Can anyone point me in the right direction? (User Level: Beginner)
    2: Text entered at prompt is meant to have the same style as rest of paragraph, but can prompt itself be highlighted such as different color or font?

    Thanks,
    Regards,
    PaulB

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to... (Word 2000)

    Hi Paul:
    1. Press Ctrl+F9 to insert the curly braces.
    2. Type MACROBUTTON NoMacro "Click here to whatever"
    3. Press F9 to update the field.

    It looks like this:
    { MACROBUTTON NoMacro "Click here etc." }

    Cheers,

  3. #3
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to... (Word 2000)

    Thanks, Phil. That's exactly what I want. With a bit of trial-and-error, I found I could highlight the prompt text (Click here...) by changing its color (red). This makes it stand out in a black on white document and minimizes the chance of overlooking the entry of some data.

    Step 3 in your instructions is not clear to me. Doing steps 1 and 2 when creating the template appears to do what I want. What is step 3 meant to accomplish?

    Also... what have I/we accomplished here? Created a macro? A field code? I don't know what this is called, making it difficult to look it up in what little reference material I have.

    Again, thanks.
    Regards,
    PaulB

  4. #4
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: How to... (Word 2000)

    The Step 3 hid the field code and displayed the text you had entered in it. This had the same effect as right clicking the field and choosing update.

    This is not a macro, it is a field code which runs a macro when it is double clicked.

    Why did you want to replicate this field construction? What is the actual reason that you wanted to create it in the first place? Phil helped you out on creating the front end but now you must work out the reason why you wanted this because there is a back end missing now.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  5. #5
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,055
    Thanks
    2
    Thanked 417 Times in 346 Posts

    Re: How to... (Word 2000)

    Hi Paul,

    <hr>what have I/we accomplished here? Created a macro? A field code?<hr>

    What you've done is to use a Macrobutton field to solicit input instead of driving a macro (hence the NoMacro argument). What this means is that, when the user types anything into the field, the field is deleted and is replaced with whatever is typed.

    Cheers
    Cheers,

    Paul Edstein
    [MS MVP - Word]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •