What happens to a failed INTJ

Worksheet. Visible property (Excel) Worksheet.Visible property (Excel)

  • 2 minutes to read

Gives one XlSheetVisibility -Value that determines whether or not the object is visible. Returns or sets XlSheetVisibility value that determines whether the object is visible.

Syntax syntax

Expression. Visibleexpression.Visible

Expression A variable that is a Worksheet Object.expression A variable that represents a Worksheet object.

Example

This example hides Sheet1.


This example makes Sheet1 visible.


This example makes every sheet in the active workbook visible.


This example creates a new worksheet and its Visible Property on xlSheetVeryHiddenThis example creates a new worksheet and then sets its Visible property to xlSheetVeryHiddenTo refer to the sheet, use its object variable,, as shown in the last line of the example To use another procedure, you must declare it as a public variable () on the first line of code of the module that is a Sub -or Function To use the object variable in another procedure, you must declare it as a public variable () in the first line of the module preceding any Sub or Function procedure.

Support and feedback

Have questions or feedback about Office VBA or this documentation? See Office VBA Support and Feedback for help with ways to get support and provide feedback. Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.