logo
search
VBA & Macro Problems

How to Find and Recover Excel Personal.xlsb Macro File

Amos GikundaAmos Gikunda Oct 12, 2026 869 views

Question details

The user needs to know if Windows File History backs up the Personal.xlsb file and how to find or recover it after a system reinstall or data transfer.

How to Find and Recover the Excel Personal.xlsb File
Product
Microsoft Excel
Device & OS
Windows
Scenario
Recovering personal macros after reinstalling Windows or restoring files from an external backup drive.
Observed behavior
The Personal.xlsb file containing custom macros is missing or difficult to locate in the file system.
Before you start

Ensure that you have enabled viewing hidden files and folders in Windows File Explorer, as the AppData folder where Personal.xlsb is stored is hidden by default.

Solution 1Recommended

Locate Personal.xlsb in the Default XLSTART Folder

Manually check the default directory where Excel stores the Personal Macro Workbook on your local drive or backup drive.

By default, Windows File History backs up libraries, desktop, contacts, and favorites. The AppData folder is usually excluded unless manually added, meaning Personal.xlsb might not be backed up automatically if you relied solely on default File History settings.

1
Open File Explorer

Press the Windows Key + E on your keyboard to open File Explorer.

2
Navigate to the XLSTART directory

Go to C:\Users\[username]\AppData\Roaming\Microsoft\Excel\XLSTART. Make sure to replace [username] with your actual Windows username.

3
Search for Personal.xlsb in your backup

If you are using an external drive with a File History backup, navigate to the exact same relative AppData path within your backup folder to see if the file was captured.

Locate Personal.xlsb in the Default XLSTART Folder
Missing AppData Folder: If you cannot see the AppData folder, click the 'View' tab in File Explorer and check the 'Hidden items' box to reveal it.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Management

Looking for a reliable spreadsheet editor with excellent format compatibility? WPS Office offers a lightweight, free alternative to Microsoft Office. It fully supports .xlsx, .xls, .xlsb, and .csv formats, providing a familiar interface so you can manage your data and macros without a steep learning curve.

  1. 1. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the downloaded installer and follow the on-screen prompts to complete the setup in minutes.
  3. 3. Open your spreadsheets: Launch WPS Spreadsheets and open your existing Excel files directly, with full formatting preserved.
Highly compatible with Microsoft Excel formats (.xls, .xlsx, .xlsm, .xlsb).Lightweight design ensuring fast installation and smooth operation.Familiar user interface for a zero-learning-curve transition.Rich set of advanced data analysis and spreadsheet management tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I see the AppData folder when searching for Personal.xlsb?

The AppData folder is a hidden system folder in Windows. To see it, open File Explorer, click on the 'View' tab at the top, and check the box for 'Hidden items'.

How do I ensure Windows File History backs up my Excel macros?

To back up your macros, you must manually add the C:\Users\[username]\AppData\Roaming\Microsoft\Excel\XLSTART folder to your File History backup list via Windows Settings > Update & Security > Backup > More options.

How do I create a new Personal.xlsb file if my old one is lost?

Open Excel, go to the View tab, click Macros, and select 'Record Macro'. In the 'Store macro in' dropdown menu, select 'Personal Macro Workbook'. Click OK, then immediately click Stop Recording. This will generate a fresh Personal.xlsb file in your XLSTART folder.