Access form to Word

  • Thread starter Thread starter Michael E Phillps
  • Start date Start date
M

Michael E Phillps

I need to print a very large form in word here's what I got so far.

Dim objWord As Object
' Open Microsoft Word using automation
Set objWord = New Word.Application

objWord.Documents.Add "C:\SocServDocs\childinneedofaidPetition.dot
objWord.Visible = True

This is the error message I get
"Object variable or With block variable not set"

Can anyone see what it is I've forgot????

Thanks
Mike
 
Back
Top