>Hi everyone,
> I'm working on a little project where I want to check and see if excel.exe is being used and if so get a list of what files are open (full path preferably). Can anyone help me on this? Not really sure where to even start.
> Thanks
Justin,
I'd say you're sailing in dangerous waters:) Anyway:
oExcel = getobject(,"Excel.application") && wrap this one with an error routine
* if no excel is open then you would get an error
Here I simply assume Excel is opened already.
oExcel = GETOBJECT(,"Excel.application")
WITH oExcel
FOR ix=1 to .Workbooks.Count
? .Workbooks(m.ix).FullName
endfor
endwith
Cetin