TM1 OptSet disable alerts?

Post Reply
Andy Li
Posts: 1
Joined: Fri Jan 11, 2013 1:36 am
OLAP Product: TM1
Version: 9.5.1
Excel Version: 2007

TM1 OptSet disable alerts?

Post by Andy Li »

Hi, i am currently doing a report automation and it requires me to prefix the admin host in order to get the right data from the server. I've come to know a TM1 macro function OPTSET. The macro works fine but however the prompt to disconnect from the all server keeps poping out. Does anyone know how can i prevent that popup from happening?
Paul Segal
Community Contributor
Posts: 314
Joined: Mon May 12, 2008 8:11 am
OLAP Product: TM1
Version: TM1 11 and up
Excel Version: Too many to count

Re: TM1 OptSet disable alerts?

Post by Paul Segal »

Andy Li wrote:Hi, i am currently doing a report automation and it requires me to prefix the admin host in order to get the right data from the server. I've come to know a TM1 macro function OPTSET. The macro works fine but however the prompt to disconnect from the all server keeps poping out. Does anyone know how can i prevent that popup from happening?
I realise this is a rather belated answer, but just for anyone who spends some time scratching their head over this - one answer is to put a sendkeys enter command in your code, but the trick is that it has to go before the optset command, like so:

Code: Select all

SendKeys "~", False
Application.Run ("OptSet"), "AdminHost", "NameofAdminHost"
Paul
Post Reply