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.