Determines if a particular version of Microsoft Excel is installed in the target system
Usage:
xlsInstalled (object me, integer appType)
Parameters:
appType (integer) - The application type to test for. Valid values are:
- Excel Application ( any version installed on system )
- N/A
- Excel 97 Application
- Excel 2000 Application
- Excel 2002 Application
- Excel 2003 Application
Returns:
(boolean)
1- application installed
0- application not installed
Example:
xtRose = xtra("Rosetta").new( )
if ( xtRose.xlsInstalled(1) = 0 ) then
alert "Excel not found"
abort
end if
Notes:
Each version of Microsoft Excel may have unique features. Use this function to check if your desired feature requires a particular Excel version on the target system.