Create object in Word - TechRepublic
General discussion
June 3, 2001 at 11:59 PM
hurdk

Create object in Word

by hurdk . Updated 25 years ago

I am copying a file from Word to Outlook

I need to create an object in Word to solve the error:

User-defined type not defined

caused by:

Dim oOutlookApp As New Outlook.Application

My code works on the toolbar but not in a command button in Word.

Thank you.

This discussion is locked

All Comments