I need to create a macro which selects a sheet and rebuilds the active form. Is this possible using VBA? We are using Excel 2003 and TM1 9.5.2
Any help with this would be greatly appreciated.
Thanks and regards
Vera Hawkins
Rebuilding Active Forms using VBA
-
- Community Contributor
- Posts: 211
- Joined: Tue Sep 15, 2009 11:13 pm
- OLAP Product: IBMPA
- Version: PA 2.0 Cloud
- Excel Version: 2010
Re: Rebuilding Active Forms using VBA
I think you are after
ActiveSheet.Select
Application.Run "TM1RECALC1"
but if you search the forum you may find some better examples
ActiveSheet.Select
Application.Run "TM1RECALC1"
but if you search the forum you may find some better examples
GG
-
- MVP
- Posts: 3706
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Rebuilding Active Forms using VBA
In fact you would be needing Application.Run "TM1REFRESH" which is the macro to rebuild an active form. TM1RECALC1 recalculates the sheet but it will not trigger rebuilding of the rows of an active form.BigG wrote:I think you are after
ActiveSheet.Select
Application.Run "TM1RECALC1"
but if you search the forum you may find some better examples