Dim pWordApp as Word.Application (or as Object)
'Retrieve existing instance if any
on error resume next
Set pWordApp = GetObject("Word.Application")
On error goto 0
'Failing that, create a new instance
If pWordApp is nothing then
set pWordApp = CreateObject("Word.Application")
End if
> Hi all,
>
[quoted text clipped - 4 lines]
> Thanks in advance
> Ted