>Hi everyone,
>
>I have two question as below :-
>
>A. How can i know the EXCEL application is running in window ?
>
>B. How can i know the EXCEL FILE is opened by EXCEL at this monment ?
>
>Thank a lot
A)
DECLARE integer FindWindow in WIN32API string cNull, string cWinName
? 'Excel is'+Iif( FindWindow('XLMAIN', 0) > 0,'',' NOT')+' running.'
Cetin