>Hi,
> I need to check if Microsoft Excel is installed for use this:
>
>this.oExcelSession = CreateObject("Excel.Application")
>
> If it's not installed I get an error message.
>
>T.I.A.
You might use an ON ERROR handler that checks for a 1429 Error (i think). You'd have to work out the isolation routines to assure that the attempted instanciation was the culprit (like lineno or program()). Evaluate Ko's suggestion too.
Imagination is more important than knowledge