How to Delete a Macro from Excel's Hidden PERSONAL.XLSB Workbook
Question details
The user needs to delete a personal macro stored in 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.
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.
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.
On the View tab, select Unhide in the Window group. Choose PERSONAL.XLSB and click OK.
On the View tab, select Macros > View Macros. If needed, choose PERSONAL.XLSB in the Macros in list to narrow the results.
Select the macro you want to remove and click Delete. Confirm the deletion if prompted.
With PERSONAL.XLSB active, select View > Hide. When you close Excel, choose Save if prompted to save changes to the personal macro workbook.

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.

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.




