How to: Programmatically Hide Worksheets. You can show or hide any worksheet in a workbook. To hide a worksheet, use the worksheet host item or access the worksheet by using the sheets collection of the workbook. Applies to: The information in this topic applies to document-level projects and VSTO add-in projects for Excel.