Hi,
I've come accross a really frustrating problem in which I can not access the VBA editor for any application in the Office suite using my profile. All code runs fine.
I am using Office 2016 Professional Plus and I am encountering the following:
In Excel if I invoke the editor with Alt + F11 I get the 'Out of Memory' exception, on a new Book after a fresh boot with nothing else running and with all add-ins disabled.
In Excel if I click Edit on any macro in the list I get the 'Unexpected Error; quitting' exception.
If I attempt to edit any procedure in Access I get the 'Unexpected Error; quitting' exception either clicking on a module or the buttons next to events.
In Outlook if I click the VBA editor button, nothing happens.
If I attempt to create a new macro in Outlook or Word I get the 'Unexpected Error; quitting' and 'Out of Memory' errors one after the other.
Things I have tried:
1) Disabled all add-ins.
2) Rename personal.xlsb.
3) Repair Office.
4) Completely remove Office, reboot, reinstall office.
5) Remove HKCU VBA 6.0 common keys (backed up then restored after testing).
There is no code modules common to all of the Office suite that I run.
If I log on to the machine with another user I can use the VBA editor as normal but on my profile I can not use it at all which makes me think there is some common VBA IDE user critical preference file / reg entries somewhere that I am not finding a clue to with my research efforts.
I made no changes to any of my code when this started occuring, which happened whilst I was working in Excel.
Have any of you guys experienced this before or have any ideas about the startup sequence of the IDE to know where it gets its settings, other than the HKCU common keys?
Any help would be much appreciated.
Thanks,
Gaz
I've come accross a really frustrating problem in which I can not access the VBA editor for any application in the Office suite using my profile. All code runs fine.
I am using Office 2016 Professional Plus and I am encountering the following:
In Excel if I invoke the editor with Alt + F11 I get the 'Out of Memory' exception, on a new Book after a fresh boot with nothing else running and with all add-ins disabled.
In Excel if I click Edit on any macro in the list I get the 'Unexpected Error; quitting' exception.
If I attempt to edit any procedure in Access I get the 'Unexpected Error; quitting' exception either clicking on a module or the buttons next to events.
In Outlook if I click the VBA editor button, nothing happens.
If I attempt to create a new macro in Outlook or Word I get the 'Unexpected Error; quitting' and 'Out of Memory' errors one after the other.
Things I have tried:
1) Disabled all add-ins.
2) Rename personal.xlsb.
3) Repair Office.
4) Completely remove Office, reboot, reinstall office.
5) Remove HKCU VBA 6.0 common keys (backed up then restored after testing).
There is no code modules common to all of the Office suite that I run.
If I log on to the machine with another user I can use the VBA editor as normal but on my profile I can not use it at all which makes me think there is some common VBA IDE user critical preference file / reg entries somewhere that I am not finding a clue to with my research efforts.
I made no changes to any of my code when this started occuring, which happened whilst I was working in Excel.
Have any of you guys experienced this before or have any ideas about the startup sequence of the IDE to know where it gets its settings, other than the HKCU common keys?
Any help would be much appreciated.
Thanks,
Gaz
Comment