Hello,
hope all is well. Can anyone help out with this?
I have a macro that goes down the pivot table and creates a sheet for each row on the pivot table.( See Pic 1 and Macro Below).
Works perfectly, but only returns the values on each sheet created.
For this example I will get three sheets created. My header row will be created on each sheet, and then the lines associated to the Row Label.
A&M will have header and 6 lines, Ace Manufacturing will have header and 2 lines, Achieve Industries will have header and 78 lines. The formulas from the original data are now converted to values.
Is there a way to either modify the macro or adjust the pivot table to return the formulas when clicking on each Row Label Count?
I'd also like to keep the color formatting of my header row if possible.
Thank You in advance,
Gary
Pic 1.
Macro Used:
Sub CreateSheets()
'
' CreateSheet Macro
'
Dim currRow As Long
For currRow = 1 To 3
Sheets("Data").Range("E" & currRow).ShowDetail = True
Next
End Sub
hope all is well. Can anyone help out with this?
I have a macro that goes down the pivot table and creates a sheet for each row on the pivot table.( See Pic 1 and Macro Below).
Works perfectly, but only returns the values on each sheet created.
For this example I will get three sheets created. My header row will be created on each sheet, and then the lines associated to the Row Label.
A&M will have header and 6 lines, Ace Manufacturing will have header and 2 lines, Achieve Industries will have header and 78 lines. The formulas from the original data are now converted to values.
Is there a way to either modify the macro or adjust the pivot table to return the formulas when clicking on each Row Label Count?
I'd also like to keep the color formatting of my header row if possible.
Thank You in advance,
Gary
Pic 1.
Macro Used:
Sub CreateSheets()
'
' CreateSheet Macro
'
Dim currRow As Long
For currRow = 1 To 3
Sheets("Data").Range("E" & currRow).ShowDetail = True
Next
End Sub