VBA & Macro Problems

How to Delete a Macro from Excel's Hidden PERSONAL.XLSB Workbook

Aamir Naveed AkramAamir Naveed Akram Dec 2, 2026 868 views

Question details

The user needs to delete a personal macro stored in Excel's hidden PERSONAL.XLSB workbook.

Delete a Macro from Excel's Hidden PERSONAL.XLSB Workbook
Product
Microsoft Excel
Device & OS
not provided
Scenario
Deleting a macro stored in the personal macro workbook.
Observed behavior
Excel displays an error when the user tries to delete the macro because PERSONAL.XLSB is hidden.
Before you start

Open Excel and check that PERSONAL.XLSB is available in View > Unhide. If Unhide is unavailable or the workbook is not listed, confirm that the personal macro workbook is open.

Solution 1Recommended

Unhide PERSONAL.XLSB and delete the macro in Excel

Use this method when Excel cannot delete a macro because the personal macro workbook is hidden.

1
Unhide the workbook

On the View tab, select Unhide in the Window group. Choose PERSONAL.XLSB and click OK.

2
Open the Macros dialog

On the View tab, select Macros > View Macros. If needed, choose PERSONAL.XLSB in the Macros in list to narrow the results.

3
Delete the macro

Select the macro you want to remove and click Delete. Confirm the deletion if prompted.

4
Hide and save the workbook

With PERSONAL.XLSB active, select View > Hide. When you close Excel, choose Save if prompted to save changes to the personal macro workbook.

Unhide PERSONAL.XLSB and delete the macro in Excel
Why the workbook is hidden: PERSONAL.XLSB is commonly hidden so that personal macros are available without showing the workbook during normal Excel use.
Free Microsoft Office alternative

Work with spreadsheets using WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and support for Microsoft Excel formats, making it easy to move everyday spreadsheet work. It does not fix Excel's hidden PERSONAL.XLSB issue; check VBA and macro compatibility before migrating macro-enabled files.

Open and edit spreadsheets with familiar workbook controls.Compatible with Microsoft Excel formats such as XLS and XLSX.Free and lightweight for everyday document and spreadsheet work.Access spreadsheet, document, and presentation tools in one suite.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I delete a macro from PERSONAL.XLSB?

Excel may prevent deletion while the workbook is hidden. Select View > Unhide, choose PERSONAL.XLSB, and then delete the macro from View > Macros > View Macros.

How do I hide PERSONAL.XLSB again after deleting the macro?

Make PERSONAL.XLSB the active workbook and select View > Hide. Save the change when Excel prompts you on exit.

What if PERSONAL.XLSB does not appear in the Unhide dialog?

Confirm that the personal macro workbook is open in Excel. View > Unhide lists hidden workbooks that are currently open.

Will deleting the macro remove other personal macros?

Deleting a selected macro from the Macros dialog removes that macro, not every macro in PERSONAL.XLSB. Select the intended macro carefully before clicking Delete.