Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
For Each pvtfld In ActiveSheet.PivotTables(1).PivotFields
MsgBox pvtfld.Name
Next
or
with ActiveSheet.PivotTables(1)
for i = 1 to .PivotFields.count
myArray(i-1) = .pivotfields(i).name
next i
end with