Alright so I don't know what the problem is in your code but I might have the piece of the puzzle your looking for.
When I began programming I used the same code you do to create a new Word session. But now I use the following line
You should always put the prefix before and not after a variable, contol or objext.Code:Set objWord = New Word.Application
![]()


Reply With Quote