Danny,
you are using a technique that is called early-binding as is evidenced for example by the statement
If you are getting the message "User defined type..." that probably means that you have not set the reference to the Microsoft Word Object library. Go to Tools/Preferences and select the correct library.![]()
Dim wd As New Word.Application
Bookmarks