Hi All,
I've had this issue for a while and have been searching for a solution. All I've found is this article https://social.msdn.microsoft.com/F...amounts-as-text?forum=sqlkjpowerpivotforexcel
But, I recognise that is dated June 2013 so I wondered if anyone (perhaps on here?) had found a solution to this issue?
The pivot table in question for me is used by sales people who will never be technically sufficient enough (or patient enough) to go through the necessary steps to turn their data into the correct formats. I need them to be in the correct formats at the point they drill down and add the new sheet.
I am tempted (since this is the only logical reason anyone would add a new sheet to the document) to create a VBA event when new sheets are added.
I've not tested this theory yet though - is there a better solution?
Andrew
I've had this issue for a while and have been searching for a solution. All I've found is this article https://social.msdn.microsoft.com/F...amounts-as-text?forum=sqlkjpowerpivotforexcel
But, I recognise that is dated June 2013 so I wondered if anyone (perhaps on here?) had found a solution to this issue?
The pivot table in question for me is used by sales people who will never be technically sufficient enough (or patient enough) to go through the necessary steps to turn their data into the correct formats. I need them to be in the correct formats at the point they drill down and add the new sheet.
I am tempted (since this is the only logical reason anyone would add a new sheet to the document) to create a VBA event when new sheets are added.
Code:
[COLOR=#00008B][FONT=Consolas]Private[/FONT][/COLOR][COLOR=#2E3133][FONT=Consolas] [/FONT][/COLOR][COLOR=#00008B][FONT=Consolas]Sub[/FONT][/COLOR][COLOR=#2E3133][FONT=Consolas] Workbook_NewSheet[/FONT][/COLOR][COLOR=#2E3133][FONT=Consolas]([/FONT][/COLOR][COLOR=#00008B][FONT=Consolas]ByVal[/FONT][/COLOR][COLOR=#2E3133][FONT=Consolas] Sh [/FONT][/COLOR][COLOR=#00008B][FONT=Consolas]As[/FONT][/COLOR][COLOR=#2E3133][FONT=Consolas] [/FONT][/COLOR][COLOR=#00008B][FONT=Consolas]Object[/FONT][/COLOR][COLOR=#2E3133][FONT=Consolas])
Format Cells
[/FONT][/COLOR][COLOR=#00008B][FONT=Consolas]End[/FONT][/COLOR][COLOR=#2E3133][FONT=Consolas] [/FONT][/COLOR][COLOR=#00008B][FONT=Consolas]Sub[/FONT][/COLOR]
I've not tested this theory yet though - is there a better solution?
Andrew