I think you need something like
Set wordApp = GetObject(, "Word.Application") If wordApp Is Nothing Then Set wordApp = CreateObject("Word.Application") End If
I think you need something like
Set wordApp = GetObject(, "Word.Application") If wordApp Is Nothing Then Set wordApp = CreateObject("Word.Application") End If
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber