Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    May 2009
    Posts
    84
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Word 2002

    I work on legal forms that are merged from a database. Because VBA is stripped out during the merge, I am trying to use the ASK field to display a message to the user. I know it's not designed for that but I am unable to alert a user any other way.

    The ASK prompt box displays before the Word document opens. When OK is clicked on the prompt box, the merged document opens a print-preview view, that is, no toolbars display. Nothing can be done at that point to edit or save the document. Why is that happening? I've checked and unchecked the Ask Once box in the ASK field dialog box.

    I also was thinking about placing a message box macro in the global template but how is the VBA written to look for the Name field in doc properties? If Yes, display the message box (not all forms need the message box).

    Thanks,
    Charlie
    charlie6067


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

    I think we'd need to see the vba code you're using, as that may be where the problem lies. Also, since you're using vba, I don't see why you couldn't use either an inputbox or a messagebox, depending on what you're trying to use the ASK field for.
    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
  •