Hi,
So this is a symptom of a very common issue with a program/add-in called IBM Cognos TM1. Basically it installs and it's an add-in for Excel which allows you to pull data into your sheets.
The issue is that when the extra tab initializes/loads it turns off the numlock on the computer. This is a known bug that they've tried to fix in newer versions and yet it still happens. The cause is believed to be multiple send key commands within the add-in coding which disables the numlock, which is also a common Excel bug in 2007/10.
So, I've tried to fix this issue but I need a little bit more help.
I inserted some VBA code into the workbooks_open event to get Excel to turn the numlock on whenever the specific file opens, and this works great in blank files with no add-ins; however, when it is used with the actual intended file with the TM1 add-in enabled, it doesn't work.
The reason is that the custom tab from TM1 which ends up disabling the numlock, only loads once all the workbooks_open code has been executed. If I attempt to delay or sleep and then have the numlock command run, this doesn't work either; the custom tab's load is also delayed until the workbooks_open code has run and then loads, turning the numlock back off.
So basically any code in the workbooks_open event is undone because the custom tab which causes the numlock to turn off, always loads after that code and causes the issue.
Unfortunately, the add-in is password protected so I can't access it's code to fix the actual cause.
So here's my question: Is there a workbook event which I can use or something I can do to make a specific macro or piece of code run when a workbook is opened but only AFTER the ribbon has fully loaded with any custom tabs?
Thanks for the help,
Richard
Bookmarks