TM1 Action Button

Post Reply
jonathan.d
Posts: 43
Joined: Mon May 18, 2009 8:41 am
Version: TM1 9.4 MR1
Excel Version: 2003

TM1 Action Button

Post by jonathan.d »

Hi,

Is there a way to access the TM1 action button through a macro?
Wim Gielis
MVP
Posts: 3126
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: TM1 Action Button

Post by Wim Gielis »

Hi Jonathan

Can you elaborate a bit more on your question? What do you want to achieve in VBA?

In fact, the button itself is a shape, so it can be controlled using VBA.

Wim
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
jonathan.d
Posts: 43
Joined: Mon May 18, 2009 8:41 am
Version: TM1 9.4 MR1
Excel Version: 2003

Re: TM1 Action Button

Post by jonathan.d »

Hi,

I want to be able to call a workbook from another, copy sheets over to the first workbook, then close the second one which was opened.

Both workbooks would be sitting on the server under the applications folder.

I am guessing TM1 doesn't treat an action button as a normal command button, although when you click on it with controlbox enabled...the formula bar shows
'=EMBED(TM1XL....etc.)

I want my macro to do what the action button should do and then something more.
Wim Gielis
MVP
Posts: 3126
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: TM1 Action Button

Post by Wim Gielis »

Hello Jonathan

Maybe I am missing something important in your story, but couldn't you use a second action button? That action button could point to another process. This process would start off by executing the existing process (you can use an ExecuteProcess statement in the Prolog for that), and then it would do "something more" as you call it.

Wim
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
jonathan.d
Posts: 43
Joined: Mon May 18, 2009 8:41 am
Version: TM1 9.4 MR1
Excel Version: 2003

Re: TM1 Action Button

Post by jonathan.d »

Hi Wim,

I found a post from last year from a user who had the same problem as myself.

The issue was never resolved.

Here's the link.

http://forums.olapforums.com/viewtopic.php?f=3&p=1101



Thanks!
Wim Gielis
MVP
Posts: 3126
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: TM1 Action Button

Post by Wim Gielis »

Hi Jonathan

I have not yet worked with blob in the TM1 API. If I might in the future, I will take up this challenge. But don't expect that to be soon.

Wim
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Post Reply