I am trying to have a button that launches a word mail merge document
thats already linked to my database. when i hit the button, word opens
with the file, but all the mail merge features are greyed out.
what am i doing wrong?
i am using office xp, and here is my code:
Public Function LaunchMerge()
On Error GoTo Err_LaunchMerge
Set mobjWordApp = CreateObject("Word.Application")
With mobjWordApp
.Visible = True
.WindowState = wdWindowStateMaximize
.Documents.Open ("T:\ALL VET UNIT INFOMATION\All TAP
Infomation\Tap Employers Database\tap.doc")
End With
Exit_LaunchMerge:
Exit Function
Err_LaunchMerge:
MsgBox Err.Description
Resume Exit_LaunchMerge
End Function