This has only just happened to me and doesn't seem to affect anyone else but it is driving me mad & getting in the way of some of my reporting.
When i open TM1 it asks to enable the tm1p.xla macro twice. That alone is annoying but i could live with it if excel wasn't also asking for macros in files to be enabled manually when they are opened by vba. I know its not the report or its code because other users do not have the problem, but despite the vba telling excel to ignore prompts, for me it asks anyway. This slows a report generation process from 10 mins left alone to 45 mins with me sat at the desk hitting "E" every time it opens the template. Its also causing me issues with development as i don't know what are true errors & what are just caused by this bug.
Does anyone know of any profile or settings that may cause this? I have shared this profile with another machine that has excel 2007 on it and that was when i first saw the problem, but a colleague has done the same as me and not had the same issue.
TIA
Excel 2003 / TM1 9.0 / Enable Macro Twice?
- Steve Vincent
- Site Admin
- Posts: 1054
- Joined: Mon May 12, 2008 8:33 am
- OLAP Product: TM1
- Version: 10.2.2 FP1
- Excel Version: 2010
- Location: UK
Excel 2003 / TM1 9.0 / Enable Macro Twice?
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: Excel 2003 / TM1 9.0 / Enable Macro Twice?
We hav had a smililar issue with some users here. Re-installing excel seems to get rid of the issue,
Jim.
Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
- Michel Zijlema
- Site Admin
- Posts: 713
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: Excel 2003 / TM1 9.0 / Enable Macro Twice?
Hi Steve,
How ar you starting the TM1 add-in? Is it automatically loading in Excel or is it loaded by double-clicking the tm1p.xla file?
Just a shot in the dark... but could it be you're doing both?
Michel
How ar you starting the TM1 add-in? Is it automatically loading in Excel or is it loaded by double-clicking the tm1p.xla file?
Just a shot in the dark... but could it be you're doing both?
Michel
- Steve Vincent
- Site Admin
- Posts: 1054
- Joined: Mon May 12, 2008 8:33 am
- OLAP Product: TM1
- Version: 10.2.2 FP1
- Excel Version: 2010
- Location: UK
Re: Excel 2003 / TM1 9.0 / Enable Macro Twice?
@Jim: never that simple tho, not here anyway. Office is embedded in the SOE so it'd mean a full rebuild of my machine. I have that as a last resort as it causes no end of other issues on my developer account.
@Michel: yeah had that before but i always ensure the add-in is not loaded on startup. Also, if it did that i'd get 2 TM1 toolbars - i'm only getting one in this case.
@Michel: yeah had that before but i always ensure the add-in is not loaded on startup. Also, if it did that i'd get 2 TM1 toolbars - i'm only getting one in this case.
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
- Steve Vincent
- Site Admin
- Posts: 1054
- Joined: Mon May 12, 2008 8:33 am
- OLAP Product: TM1
- Version: 10.2.2 FP1
- Excel Version: 2010
- Location: UK
Re: Excel 2003 / TM1 9.0 / Enable Macro Twice?
Found the cause but as yet not a viable solution. I have been told that code execution will be subject to tighter controls when we upgrade. I was put in a test group that inflicted those controls, hence why all the hassle with macros. Anyone know of ways to avoid "enable macros" prompts when opening files via VBA other than using my normal code of "Application.DisplayAlerts = False"?
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
- sachin
- Posts: 92
- Joined: Fri Jan 15, 2010 9:54 pm
- OLAP Product: Transformer,SSAS, EP, TM1
- Version: 7.3 2005 10.1 10.1.1
- Excel Version: 2013
- Contact:
Re: Excel 2003 / TM1 9.0 / Enable Macro Twice?
One way to turn off the prompt is to set the macro security to low. Not only this exposes your PC to vulnerable code, chances are that it will be reset when you reboot your PC (assuming there is a group policy defined). The other alternative is to add digital signature as outlined by Microsoft over here.
There is another approach mentioned here. HTH.
There is another approach mentioned here. HTH.
Check out my blog for some good information on TM1, SPSS
- Steve Vincent
- Site Admin
- Posts: 1054
- Joined: Mon May 12, 2008 8:33 am
- OLAP Product: TM1
- Version: 10.2.2 FP1
- Excel Version: 2010
- Location: UK
Re: Excel 2003 / TM1 9.0 / Enable Macro Twice?
cheers for the ideas but our IT security is tighter than a mermaids brassier
macro security cannot be altered. we cannot sign projects and any attempt to circumvent the policies via code are always foiled. i need our IT to find an amicable solution to it...

macro security cannot be altered. we cannot sign projects and any attempt to circumvent the policies via code are always foiled. i need our IT to find an amicable solution to it...
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet