Results 1 to 8 of 8

Thread: resolved:Suppress Merge Field Calculation Errors in Word 2000

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Posts
    5

    Resolved resolved:Suppress Merge Field Calculation Errors in Word 2000

    Many thanks for the replies to this post. Prompted me to revisit my field codes where the error was apparently generating, despite the results being accurate anyway.

    FYI, the error was generating using an{ IF a=x and b=y } type scenario. Turns out the the 'and' requirement needed to be nested in its own field. Error has ceased and document functions fine.

    found this useful: kb189018

    Thanks all.

    xentaur.

    Hi there

    The following issue has me perplexed to say the least and any help would be appreciated.

    Merging to New document in Word 2000 using Table in Access 2000 as Data Source - document has to be bomb-proof for end-users. Snippet of code being used in main document as follows:

    VB Code:
    1. Application.DisplayAlerts = wdAlertsNone
    2. ActiveDocument.MailMerge.Destination = wdSendToNewDocument
    3. ActiveDocument.MailMerge.Execute
    4. ThisDocument.Saved = True
    5. CommandBars("Menu Bar").Enabled = True
    6. CommandBars("standard").Visible = True
    7. CommandBars("Formatting").Visible = True
    8. Application.CommandBars("Menu Bar").Controls("&File").Controls("Save &as...").Enabled = True
    9. ThisDocument.Close

    As you can see, document merges to new document (good ol' FormLetters) and closes itself, returning standard menubars to documents (previously removed to prevent alteration to main document - just accept that it has to be that way!)

    Problem is this:

    The form letters are throwing merging errors at me. I've determined that the error lies in a table which calculates dates. However, the only error that is apparent is the generation of the errors - the form letters print just fine - no errors in the date calculations or anywhere else for that matter.

    I'm quite happy to release this to users except that the merging to FormLetters is also generating the Mail Merge Errors document.

    How can I suppress the generation of this error document, or indeed switch off error-checking during the merge so that the Mail Merge Error document is not generated, leaving my end-user with only the FormLetters on their desktops?

    Any help much appreciated - I'm balding as we speak...

    Cheers

    xentaur
    Last edited by xentaur; Apr 6th, 2005 at 07:27 AM. Reason: resolved.

Posting Permissions

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



Click Here to Expand Forum to Full Width