共用方式為


XlSheetVisibility Enumeration

Specifies whether the object is visible.

Version Information

Version Added: Excel 2007

Name

Value

Description

xlSheetHidden

0

Hides the worksheet which the user can unhide via menu.

xlSheetVeryHidden

2

Hides the object so that the only way for you to make it visible again is by setting this property to True (the user cannot make the object visible).

xlSheetVisible

-1

Displays the sheet.