The code above is written to take care of Excel 2010 also....
However, if you were only using 2010, you wouldn't need the IF condition
Code:Sub OLUIR(ribbon As IRibbonUI) On Error Resume Next ribbon.ActivateTab "TabAddIns" ' For Excel 2010 End Sub
The code above is written to take care of Excel 2010 also....
However, if you were only using 2010, you wouldn't need the IF condition
Code:Sub OLUIR(ribbon As IRibbonUI) On Error Resume Next ribbon.ActivateTab "TabAddIns" ' For Excel 2010 End Sub
Last edited by DocAElstein; 07-11-2023 at 11:58 AM.
A dream is not something you see when you are asleep, but something you strive for when you are awake.
It's usually a bad idea to say that something can't be done.
The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve
Join us at Facebook
So do I have to call that sub? I for the live of me can't make the code work you gave me for just 2010. Don't I have to pass in a ribbon?
Last edited by DocAElstein; 07-11-2023 at 11:59 AM.
Bookmarks