VBA & Macro Problems

How to Fix an Excel XLAM Add-In That Will Not Save Changes

Jason MillerJason Miller Nov 13, 2026 869 views

Question details

User needs to troubleshoot an Excel XLAM add-in that does not update its modified date after adding VBA modules, formulas, or formatting shortcuts.

Fix an Excel XLAM Add-In That Will Not Save Changes
Product
WPS Office Excel / Microsoft Excel XLAM add-in
Device & OS
not provided
Scenario
The user has added VBA modules, formulas, or formatting shortcuts to an Excel XLAM add-in and expects the file's modified date to update.
Observed behavior
The XLAM file appears not to save changes; its modified date does not update after the edits are made.
Before you start

Before troubleshooting, note the exact folder location and current Date modified of the .xlam file, and make sure you can write to that folder. Close WPS Office or Excel completely before checking the timestamp again.

Solution 1Recommended

Save the Add-In Explicitly from the Visual Basic Editor

Use this first when the XLAM looks updated in the VBA editor but the file timestamp stays unchanged.

The add-in may be open in memory while the file on disk has not been saved. Saving from the Visual Basic Editor writes the modified VBA project back to the .xlam file.

1
Open the Visual Basic Editor

Open the XLAM add-in in WPS Office Excel or Microsoft Excel, then press Alt+F11 to open the Visual Basic Editor.

2
Select the correct add-in project

In the Project Explorer pane, click the VBA project that matches the open XLAM add-in file.

3
Save from the editor menu

Click File > Save on the Visual Basic Editor menu bar, or press Ctrl+S.

4
Close and verify timestamp

Close Excel or WPS Office completely, then in File Explorer right-click the .xlam file, select Properties, and check the Date modified value.

Save the Add-In Explicitly from the Visual Basic Editor
Timestamp updated: After saving from the VBE, close Office before checking the modified date so the file handle is released.
Direct WPS Office solution

Save Excel XLAM Add-In Changes in WPS Office

Open your .xlam add-in in WPS Office Excel, edit the VBA modules, formulas, or formatting shortcuts, and save the file from the Visual Basic Editor so changes are written to disk and the modified date updates.

  1. 1. Open the add-in: Launch WPS Office Excel, click File > Open, and select the .xlam add-in file you need to repair.
  2. 2. Open the Visual Basic Editor: Press Alt+F11 to open the editor, then select the correct add-in project in Project Explorer.
  3. 3. Edit and save the project: Make the required VBA, formula, or formatting shortcut changes, then click File > Save in the Visual Basic Editor.
  4. 4. Close and verify: Close WPS Office completely, open File Explorer, right-click the .xlam file, and confirm the Date modified has changed.
Opens and saves Microsoft Excel .xlam add-ins without converting the formatProvides a familiar Excel-style interface for editing VBA modules and add-in shortcutsFree, lightweight Office suite with full compatibility for .xls, .xlsx, and .xlam filesLets you rebuild or resave add-ins to work around blocked or corrupted Excel add-in files
microsoft office alternative - wps office

Frequently Asked Questions

Why does my XLAM add-in keep the old modified date after I edit it?

You may have saved the workbook view but not the VBA project, or Excel or WPS Office may still have the file open. Press Alt+F11, select the correct XLAM project, click File > Save in the Visual Basic Editor, close Office, and then check Date modified.

Can WPS Office open and save a Microsoft Excel .xlam add-in?

Yes. WPS Office Excel supports Excel add-in files. Open the .xlam, press Alt+F11 to edit VBA modules, and use File > Save in the Visual Basic Editor before closing WPS Office.

What should I do if antivirus software blocks saving the add-in?

Create an antivirus exclusion for the .xlam file or its folder in the security software, or temporarily pause real-time protection. Then retry saving from the Visual Basic Editor and verify the timestamp.

How do I rebuild an Excel add-in when it still will not save?

In the Visual Basic Editor, export each module as a .bas file. Create a new workbook, import the modules with Import File, reapply formulas or formatting shortcuts, then choose File > Save As > Excel Add-In (*.xlam).