Previous - Microsoft Excel Section Home - Microsoft Excel Next - xlsLaunch


xlsInstalled ( )

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:

  1. Excel Application ( any version installed on system )
  2. N/A
  3. Excel 97 Application
  4. Excel 2000 Application
  5. Excel 2002 Application
  6. 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.


Previous - Microsoft Excel Section Home - Microsoft Excel Next - xlsLaunch