I'm trying to run a "simple" merge into MS word from a button on a form.
I get the following Error at line 3
Compile Error:
User-defined type not defined
1 Private Sub cmdMergeWord_Click()
2 On Error GoTo Err_cmdMergeWord_Click
3 Dim objWord As Word.Application
I have the following References selected in Tools
"Visual Basic for Applications"
"Microsoft Access 11.0 Object Library"
"OLE Automation"
"Microsoft DAO 3.6 Object Library"
"Microsoft ActiveX Data Objects 2.1 Library"
"Microsoft Office 11.0 Office Libray"
I get the following Error at line 3
Compile Error:
User-defined type not defined
1 Private Sub cmdMergeWord_Click()
2 On Error GoTo Err_cmdMergeWord_Click
3 Dim objWord As Word.Application
I have the following References selected in Tools
"Visual Basic for Applications"
"Microsoft Access 11.0 Object Library"
"OLE Automation"
"Microsoft DAO 3.6 Object Library"
"Microsoft ActiveX Data Objects 2.1 Library"
"Microsoft Office 11.0 Office Libray"