Hi All,
I often use,
Dim appWD As Word.Application
' Create a new instance of Word and make it visible
Set appWD = GetObject(, "Word.Application")
appWD.Visible = True
In Office 2011 and recently moved to Office 2019 and noticed it doesn't work.
I've tried,
Set appWD = GetObject(, "Word.Application.16")
Set appWD = GetObject("Word.Application")
Set appWD = CreateObject("Word.Application")
And still get run-time 7 error and Run-time error '-2147221020 (800401e4)'
When I use CreateObject it does open up Word but then says an error and highlights the CreateObject line as an error when I click Debug.
Would really appreciate any help or advice, thank you so much.
Bookmarks