Determines whether the Worksheet is visible. Read/write Variant.
Syntax
property Visible: Variant;
Description
Visible can be one of these constants.
xlSheetHidden |
xlSheetVisible |
xlSheetVeryHidden |
Hides the sheet so that the only way for you to make it visible again is by setting this property to True or xlSheetVisible (the user cannot make the sheet visible). |
Example
This example makes the Worksheet one invisible.
Workbook.Sheets[1].Visible := False;
This example is the same to previous.
This example checks visibility of sheet one.