W
Walter Briscoe
I am using Word 2003 (11.6359.6360) SP1.
I am having trouble with a merge.
My main document has two { FILLIN "q" \d "d" \o } fields.
Fillin data is acquired in a successful ActiveDocument.Fields.Update.
ActiveDocument.MailMerge.DataSource.Name is unset until I use
ActiveDocument.MailMerge.OpenDataSource to link to a data source.
Dialogs(wdDialogMailMergeRecipients).Show selects the records to merge.
I would like to put a debug probe here but have yet to figure how. I
guess that .Show unintentionally alters ActiveDocument.MailMerge.Fields.
Moving ActiveDocument.Fields.Update to here results in some data being
filled in twice and some being unfilled.
If the number of merged records is more than 7, fillin data for both
fields is again requested during ActiveDocument.MailMerge.Execute.
When debugging, I do not find a Globals window analogous to the Locals
window. The Object Browser seems to deal with the structure of objects
but not object values. It is painful to construct a MsgBox call to show
the members of an object.
I am having trouble with a merge.
My main document has two { FILLIN "q" \d "d" \o } fields.
Fillin data is acquired in a successful ActiveDocument.Fields.Update.
ActiveDocument.MailMerge.DataSource.Name is unset until I use
ActiveDocument.MailMerge.OpenDataSource to link to a data source.
Dialogs(wdDialogMailMergeRecipients).Show selects the records to merge.
I would like to put a debug probe here but have yet to figure how. I
guess that .Show unintentionally alters ActiveDocument.MailMerge.Fields.
Moving ActiveDocument.Fields.Update to here results in some data being
filled in twice and some being unfilled.
If the number of merged records is more than 7, fillin data for both
fields is again requested during ActiveDocument.MailMerge.Execute.
When debugging, I do not find a Globals window analogous to the Locals
window. The Object Browser seems to deal with the structure of objects
but not object values. It is painful to construct a MsgBox call to show
the members of an object.