A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Dear @Ka Ho Cheng,
Thank you for posting your question in the Microsoft Q&A forum.
I understand the frustration this persistent VBA issue is causing, especially since reverting to an older build is the only current workaround. Based on the error in your image ("Unable to clear table Archive Index from temporary database") and the timeline of the updates, here is my assessment of the situation:
- Is this a known problem since the December 2025 update?
- Currently, there is no official "known problem" publicly documented in the Microsoft 365 release notes for Build 17932.20620 regarding general VBA database connectivity. However, the consistent failure starting from that specific patch suggests a regression or a change in how Excel handles external database connections or temporary files.
- Is this caused by security or architectural changes?
- It is very likely that the December and subsequent updates included security hardening for remote connections or macro execution.
- Microsoft has been actively tightening security for VBA macros that access network locations or use legacy database drivers (like Jet or older ACE OLEDB providers).
- Credential/Protocol Changes: If the VBA code connects to another device, the update may have blocked a legacy authentication protocol or an unencrypted connection that was previously allowed.
- Check Trust Center Settings: Ensure that the "Trusted Locations" include the network path of the database and that "Enable all Data Connections" is checked under File > Options > Trust Center > Trust Center Settings > External Content.
- Update Connection Strings: Ensure the VBA code is using the latest Microsoft Access Database Engine drivers (ACE) rather than legacy ones.
- Review Temporary Permissions: The error "Unable to clear table... from temporary database" suggests a permission issue in the Windows Temp folder or the folder where the database reside. Ensure the user has Full Control over the database destination.
Because this issue persists across multiple builds and appears to be tied to internal product changes or security policies, I strongly recommend that your IT Admin raise a formal support ticket via the Microsoft 365 Admin Center.
As a community moderator, I do not have the ability to modify the product's internal code or investigate specific tenant-level security logs. By opening a "Service Request," your organization can provide logs to Microsoft engineers who can identify the exact security patch or architectural change causing the conflict. This is the only way to resolve the issue permanently while still meeting your organization's security requirements.
I hope this provides a clear path forward for your team!