Hi, Please help me out here. I am using below VBA to Rebuild Current Book but doesnt seem to work.
I want to rebuild the whole workbook wherever I have activeform. Please advice
sub test1()
Application.Run "TM1RECALC"
end sub
VBA Rebuild Current Book
-
- Posts: 32
- Joined: Mon Jul 20, 2015 7:19 am
- OLAP Product: Microsoft
- Version: 10.2
- Excel Version: OFFICE365
VBA Rebuild Current Book
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010
-
- Community Contributor
- Posts: 306
- Joined: Mon May 12, 2008 8:11 am
- OLAP Product: TM1
- Version: TM1 11 and up
- Excel Version: Too many to count
Re: VBA Rebuild Current Book
Try Application.Run "TM1REFRESH" rather than "TM1RECALC". Also, the search box above is your friend.
Paul
-
- Posts: 32
- Joined: Mon Jul 20, 2015 7:19 am
- OLAP Product: Microsoft
- Version: 10.2
- Excel Version: OFFICE365
Re: VBA Rebuild Current Book
I tried this but still doesn't work. Not sure what I'm missing out. It works perfect if I use teh TM1 ribbon Rebuild current book.
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010
- gtonkin
- MVP
- Posts: 1199
- Joined: Thu May 06, 2010 3:03 pm
- OLAP Product: TM1
- Version: Latest and greatest
- Excel Version: Office 365 64-bit
- Location: JHB, South Africa
- Contact:
Re: VBA Rebuild Current Book
Try
Code: Select all
application.run "TM1RebuildCurrentBook"
-
- Posts: 32
- Joined: Mon Jul 20, 2015 7:19 am
- OLAP Product: Microsoft
- Version: 10.2
- Excel Version: OFFICE365
Re: VBA Rebuild Current Book
this works thank you.
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010