Page 1 of 1

TM1 Ribbon deactivate or activate

Posted: Tue Oct 21, 2014 9:39 am
by robert
to avoid some problems with the tm1 ribbon while running vba-code you can deactivate the ribbon.

Sub TM1_Ribbon_laden ()
ChDir "C:\Program Files (x86)\ibm\cognos\tm1\bin"
Workbooks.Open Filename:="C:\Program Files (x86)\ibm\cognos\tm1\bin\tm1pRibbonX.xlam"
Application.Run "RibbonClickTab"
End Sub


TM1 Ribbon entladen

Sub TM1_Ribbon_entladen()
Workbooks("tm1pribbonx.xlam").Close
End Sub

Re: TM1 Ribbon deactivate or activate

Posted: Tue Oct 21, 2014 9:47 am
by lotsaram
Gruss Robert
Danke.

Re: TM1 Ribbon deactivate or activate

Posted: Thu Mar 05, 2015 4:21 am
by yyi
And without losing the ribbon functions too!
eg: Run "DoGetAppFolderBlob", Run "DoGetAppFolder"