Forum Discussion
Worksheets("xx").Activate - breaks macro
RandomPanda There's nothing you did to cause this. It is 100% the result of bad updates from Microsoft and has been affecting practically everyone since mid-December. Although Microsoft has claimed to resolve this issue in their February update, the fact that you and other people are still experiencing these issues suggests otherwise. There's a really good discussion thread that got a lot of attention back in December, where people have continued to share the ways in which they resolved the problem. The suggestion you might find most applicable for your situation was made by MKirsch, and can be viewed here: https://techcommunity.microsoft.com/t5/excel/excel-macros-disappear-from-xlsm-file/m-p/4040066/highlight/true#M218598
By all means read through the entire thread, though, as there are other suggestions that indicate uninstalling the 64-bit version of Excel and reinstalling the 32-bit version will give you less grief moving forward (I have not tested this yet to verify it).
- RandomPandaMar 07, 2024Brass ContributorFound this that worked on that thread. THANK YOU!
--------------------------------------
CO_Data_Wrangler replied to RBinNC
Feb 15 2024 10:58 AM
RBinNC I encountered the same issue this morning.
Try this: open the VBA Developer window for the workbook and go to:
Tools --> References
and be sure the "AccessibilityCplAdmin 1.0 Type Library" is checked.
For whatever reason, that seemed to clear up the error for me.
Hope it works for y'all, too.
-----------------------