Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

458 variable uses an automation type not supported in Visual Basic

Status
Not open for further replies.

keyword

Programmer
Jan 16, 2002
8
US
using Access97 to merge data with MSWord form letter
program blows with this line of code
Set wrd = CreateObject ("Word.Application")

Thanks for any suggestions, this one has me stumped.
David
 
Try this: Add a reference to the Microsoft Word 8.0 Object Library, then change your code to
Code:
    Set wrd = New Word.Application
Rick Sprague
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top