Hi,
>1. How can i know the EXCEL application is opened.
I'm assuming you've created an Excel object somewhere. To check if that object still exists:
IF VARTYPE(oExcel) = "O"
ELSE
ENDIF
>
>2. (and more) how can i know a XLS file is opened.
I'm not quite sure what you are trying to accomplish here to give you the appropriate advice. One way you might want to do it is try opening the file and capturing the error that is produced if it is already opened in Excel.
To help you better, we need more information on what you are trying to accomplish.
Jacci