on 05-25-2016 7:42 AM
Hello,
Can someone advise if there is a common patch that would make EPM Add-in for MS office work for office 2010 & office 2013 both being 32-bit office clients.
Thanks,
Pratap
SheetN would refer to individual sheets on the workbook.
The Current report has below tabs:
Title
P&L
Revenue
Costs
Projects
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried that but still doesn't work.
Looks like it only does the autofit for active sheet.
modified code as below:
ThisWorkbook.Sheets("Profit & Loss").Columns("J:J").AutoFit
ThisWorkbook.Sheets("Revenue").Columns("I:I").AutoFit
ThisWorkbook.Sheets("Costs").Columns("I:I").AutoFit
ThisWorkbook.Sheets("Labour Resource").Columns("H:I").AutoFit
ThisWorkbook.Sheets("Projects").Columns("H:I").AutoFit
When clicked on Profit & Loss sheet the error occurred on 2nd line for Revenue.
And If I click on Revenue sheet then error occurred on 1st line.
Just tested on EPM SP25 NET 4 with 2 sheets containing EPM reports and one Title sheet:
Function AFTER_REFRESH()
ThisWorkbook.Sheets("Revenue").Columns("I:I").AutoFit
ThisWorkbook.Sheets("Costs").Columns("I:I").AutoFit
End Function
Everything work fine! May be you have other incorrect code...
Vadim
Thanks guys.
SP25 patch 3 is also not helping with Autofit error.
Looks like its issue somewhere else, may be an Office bug.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But what is the issue you have?
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
Yes its a VBA code.
I installed the correct EPM patch for office 2013 and the custom ribbon has become responsive now.
But the report refresh fails in specific scenario where there are autofit for multiple sheets.
We are using the AFTER_REFRESH() function to autofit the columns.
I have observed that if a report has only one sheet then autofit method in After refresh function doesn't fail.
The error message looks like below:
The function code is as below:
Function AFTER_REFRESH()
'autofit columns after drill down on a member
ThisWorkbook.Sheets(Sheet7.Name).Columns("J:J").AutoFit
ThisWorkbook.Sheets(Sheet5.Name).Columns("I:I").AutoFit
ThisWorkbook.Sheets(Sheet1.Name).Columns("I:I").AutoFit
ThisWorkbook.Sheets(Sheet2.Name).Columns("J:I").AutoFit
ThisWorkbook.Sheets(Sheet18.Name).Columns("H:I").AutoFit
ThisWorkbook.Sheets(Sheet7.Name).Columns("J:J).AutoFit
End Function
This is not a issue in office 2010 excel.
Any advice?
Thank you,
Pratap
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.