logo
search
VBA & Macro Problems

Fix Excel AutoSave VBA Warning Caused by MySQL Add-In

WPS Content ManagerWPS Content Manager Oct 1, 2026 870 views

Question details

The user is experiencing a false VBA project AutoSave warning when opening XLSX files that do not contain any macros.

Fix Excel AutoSave VBA Warning Caused by MySQL Add-In
Product
Microsoft Excel
Device & OS
not provided
Scenario
Opening a standard, macro-free XLSX workbook in Microsoft Excel.
Observed behavior
Excel unexpectedly triggers a VBA project AutoSave warning, despite the workbook having no macros, due to a background conflict caused by the MySQL for Excel COM add-in.
Before you start

Ensure you have saved any pending work in your open Excel files. Note that disabling or modifying COM add-ins may require administrative privileges on certain computer systems.

Solution 1Recommended

Disable the MySQL for Excel COM Add-in

Turn off the MySQL for Excel COM add-in to prevent it from triggering false VBA AutoSave warnings on macro-free workbooks.

Third-party extensions, particularly the MySQL for Excel add-in, often run background scripts. These scripts can falsely trigger Excel's VBA AutoSave warning even when the active document is a standard .xlsx file devoid of macros. Disabling the add-in stops this background interference.

1
Open Excel Options

Launch Microsoft Excel, click on the 'File' tab in the top-left corner of the ribbon, and select 'Options' located at the very bottom of the menu.

2
Navigate to Add-ins

In the Excel Options dialog box, click on 'Add-ins' located in the left-hand navigation pane.

3
Access COM Add-ins

Look at the bottom of the window for the 'Manage' dropdown menu. Select 'COM Add-ins' from the list and click the 'Go...' button next to it.

4
Disable the MySQL Add-in

In the COM Add-ins dialog box, scroll through the list to locate 'MySQL for Excel'. Uncheck the box next to it and click 'OK' to apply the changes.

5
Restart and Verify

Close Microsoft Excel completely. Reopen your previously affected XLSX workbook to confirm that the VBA AutoSave warning no longer appears.

Disable the MySQL for Excel COM Add-in
Add-in Successfully Disabled: Disabling the COM add-in does not uninstall it. You can always re-enable the MySQL for Excel add-in by checking the box again whenever you specifically need to work with database connections.
Free Microsoft Office alternative

Use WPS Office to Avoid Excel Add-in Conflicts

If Microsoft Excel add-ins continuously cause unwanted macro or AutoSave warnings, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet experience without the heavy background processes that trigger false VBA errors.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the downloaded installer and follow the quick on-screen prompts to complete the setup.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your .xlsx files safely, without interruptions from false VBA or AutoSave warnings.
Fully compatible with Microsoft Excel (.xlsx, .xls, .csv) formats.Lightweight architecture that avoids bulky COM add-in conflicts and errors.Free to use with a familiar, easy-to-navigate tabbed interface.Seamless migration with built-in PDF and cloud synchronization tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why do I get a VBA warning on an XLSX file with no macros?

Certain third-party COM add-ins, such as the MySQL for Excel add-in, inject background operations or scripts into Excel's environment. This can trick Excel into displaying VBA or AutoSave warnings, even if your actual workbook (.xlsx) is completely free of macros.

Will disabling the MySQL for Excel add-in delete my databases?

No. Disabling the COM add-in merely prevents the MySQL extension from loading automatically when Excel starts. Your external databases and previously exported data remain perfectly intact. You can easily re-enable the add-in when you need to use those specific database tools.

How do I figure out which specific Excel add-in is causing issues?

You can isolate the problematic add-in by opening the COM Add-ins menu and unchecking all of them. If the warning goes away upon restarting Excel, re-enable the add-ins one by one (restarting Excel each time) until the VBA AutoSave warning reappears. The last one enabled is the culprit.

Can I permanently remove an Excel COM add-in instead of just disabling it?

Yes. In the COM Add-ins dialog box, you can highlight the unwanted add-in and click the 'Remove' button. For a complete removal, it is often recommended to uninstall the add-in's core software via the Windows Control Panel ('Add or Remove Programs').