Discussion Locked
0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do I get the Word Mail Merge Wizard to work from an item pick on my switchboard ?
5 replies
by awilliams3
This code excerpt assumes you have established a reference to the Word object library.
Public Sub wordmailmergewizard()
Dim objWord As Word.Application
Set objWord = CreateObject(class:="Word.Application")
With objWord .Documents.Add
.Visible = True
.Dialogs(wdDialogMailMergeHelper).Show
End With
Set objWord = Nothing
End Sub
Good luck.
Veyr Helpful
by sankulpune
Hello Maurice,
Another alternative is
ObjWord.ActiveDocument.MailMerge
Hope this helps.
With regards,
SanganakSakha
'Effective and Simple Solutions To Small Problems, No QuickFixes"
Very Helpful
This question was closed by the author
This discussion is closed to new replies.
Trending Software posts
Sort by Trending
0 helpful
1 reply
0 helpful
5 replies
0 helpful
0 replies
1 helpful
1 reply
Question Unanswered
How Are Teams Testing AI-Generated Code Before Production?
0 helpful
0 replies