>I want to use an existing Word object if already open, if not, open one. How to determine if an instance is already open?
AFAIK, you have to try and retrieve it.
local llerror
on error llerror = .T.
oMW=getobject(,"word.application")
if llerror
oMW=createobject("word.application")
endif
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao