EXCELCOM_SHEET

Syntax

Example

Description/Remarks

EXCELCOM_SHEET n

EXCELCOM_SHEET 2

This command changes the active sheet (the sheet on top) in a Microsoft Excel file.

If you switch to Sheet 2, for example, all changes you write will apply to Sheet 2 until you change to another sheet.

If the file is saved and reopened, the active sheet will be the same as it was when it was closed. For example, if you save the file with Sheet 2 as the active sheet, Sheet 2 will be the active sheet when the file is reopened.

Note: If you attempt to change to a sheet number that does not exist, you will remain on the current sheet.

 

 

 

 

 

See also: Creating a file in Microsoft Excel format, EXCELCOM_WRITE