How to: Hide Worksheets
Some code examples in this topic use the this or Me keyword or the
Theproperty allows you to show or hide an existing worksheet without having to delete and recreate the sheet. If the worksheet was created at run time, you must access it through the Microsoft Office Excel 2003 collection, otherwise you can access the directly:
The worksheet object can be one of two types:
Microsoft.Office.Tools.Excel.Worksheet host items are created at design time. For more information on host items, see.
Native Excel object.
Excelobjects are created at run time.