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.
Sub pvt()
Dim pv As PivotTable
For Each sht In ActiveWorkbook.Sheets
For Each pv In sht.PivotTables
MsgBox pv.Name
Next pv
Next sht
End Sub
Sub pvt()
Dim pv As PivotTable
counter=0
For Each sht In ActiveWorkbook.Sheets
For Each pv In sht.PivotTables
sheets(1).cells(2+counter,1)=sht.name
sheets(1).cells(2+counter,2)=pv.name
counter=counter+1
Next pv
Next sht
End Sub
Sub pvt()
Dim pv As PivotTable
For Each sht In ActiveWorkbook.Sheets
For Each pv In sht.PivotTables
MsgBox ActiveSheet.Name & " " & pv.Name
Next pv
Next sht
End Sub
Sub pvt()
Dim pv As PivotTable
Sheets.Add
cells(1,1)="Sheet name"
cells(1,2)="Pivot table name"
ActiveSheet.Move before:=Sheets(1)
counter=0
For Each sht In ActiveWorkbook.Sheets
For Each pv In sht.PivotTables
sheets(1).cells(2+counter,1)=sht.name
sheets(1).cells(2+counter,2)=pv.name
counter=counter+1
Next pv
Next sht
End Sub