VBA & Macro Problems

Make an Excel Advanced Formula Environment Metadata Sheet Very Hidden

Huma Ashraf ChHuma Ashraf Ch Dec 2, 2026 869 views

Question details

Set an Advanced Formula Environment metadata sheet to very hidden so it does not appear in Excel's standard Unhide dialog.

Make an Excel Metadata Sheet Very Hidden
Product
Microsoft Excel with Advanced Formula Environment
Device & OS
not provided
Scenario
The user wants to keep an Advanced Formula Environment metadata sheet out of the normal worksheet interface.
Observed behavior
A sheet with its Visible property set to xlSheetVeryHidden is excluded from the standard Unhide dialog.
Before you start

Open the workbook in desktop Excel and identify the metadata sheet in the Visual Basic Editor without changing its contents. If the workbook structure is protected, use Review > Protect Workbook to remove protection before changing sheet visibility.

Solution 1Recommended

Set the metadata sheet's Visible property in the Visual Basic Editor

Use the sheet's properties to hide it from Excel's standard Unhide dialog without writing a macro.

Advanced Formula Environment may use workbook metadata to support its functionality. Confirm that you have selected the intended sheet, and avoid editing its contents.

Very hidden is a visibility setting, not a security feature: someone with access to the Visual Basic Editor can change the property back.

1
Open the editor

In desktop Excel, open the workbook and select Developer > Visual Basic.

2
Select the metadata sheet

In the editor, choose View > Project Explorer, expand the workbook's Microsoft Excel Objects folder, and select the identified metadata sheet.

3
Change the visibility

Choose View > Properties Window. In the sheet's Properties window, set Visible to 2 - xlSheetVeryHidden.

4
Save and verify

Return to Excel and save the workbook. Right-click a sheet tab and check the Unhide dialog; the very hidden sheet should not be listed.

Set the metadata sheet's Visible property in the Visual Basic Editor
Restore the sheet when needed: To show the sheet again, select it in the Visual Basic Editor and set its Visible property to -1 - xlSheetVisible.
Free Microsoft Office alternative

Work with Excel files in WPS Spreadsheet

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Excel files. Its format compatibility can help you move everyday spreadsheet work between suites; it does not change Excel's Advanced Formula Environment settings.

Open and edit Microsoft Excel formats, including XLSX and XLS.Use a familiar spreadsheet interface for everyday workbook tasks.Work with worksheets in a free, lightweight office suite.Move compatible spreadsheet files between WPS Office and Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

How is Very Hidden different from a normally hidden sheet?

A normally hidden sheet can be restored through the sheet-tab Unhide command. A very hidden sheet does not appear in that dialog; change its Visible property in the Visual Basic Editor to show it.

How do I make a very hidden sheet visible again?

In desktop Excel, select Developer > Visual Basic, choose the sheet in Project Explorer, and set Visible to -1 - xlSheetVisible in the Properties window.

Does making the metadata sheet very hidden protect its contents?

No. Very Hidden keeps the sheet out of the standard Unhide dialog, but a user with access to the Visual Basic Editor can change its visibility.

Do I need to write a macro to change the sheet's visibility?

No. In the Visual Basic Editor, select the sheet and change its Visible property in View > Properties Window. VBA can also change the property, but it is not required for this method.

What should I do if Excel will not let me change the sheet's visibility?

Check whether the workbook structure is protected under Review > Protect Workbook. Remove the protection first; you may need the password.