T
Tim Davies
Hi All
I'm automating showing the "Mail Merge" menu and if it is nor visible then
adding the "Insert Merge Field" pop up.
I have mastered showing the command bar but I am having problems with
getting the pop up to work.
I've added the pop up but there ar no fields in the list.
Having recorded a macro to check what is happening I get:
Sub Macro2()
'
' Macro2 Macro
' Macro recorded 13/04/2005 by Tim Davies
'
CommandBars("Mail Merge").Controls.Add Type:=msoControlPopup, ID:= 30076
End Sub
But if I remove the pop up and run the macro it is added but does not list
the field in the merge data source.
Any pointers would be great.
Cheers
Tim Davies
using Word 2002 SP3
I'm automating showing the "Mail Merge" menu and if it is nor visible then
adding the "Insert Merge Field" pop up.
I have mastered showing the command bar but I am having problems with
getting the pop up to work.
I've added the pop up but there ar no fields in the list.
Having recorded a macro to check what is happening I get:
Sub Macro2()
'
' Macro2 Macro
' Macro recorded 13/04/2005 by Tim Davies
'
CommandBars("Mail Merge").Controls.Add Type:=msoControlPopup, ID:= 30076
End Sub
But if I remove the pop up and run the macro it is added but does not list
the field in the merge data source.
Any pointers would be great.
Cheers
Tim Davies
using Word 2002 SP3