Created
June 7, 2017 18:04
-
-
Save harsha547/c1765dd735a48fa437620c8bf097946c to your computer and use it in GitHub Desktop.
Clear Existing Pivot Table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub ClearExistingTable() | |
Dim Piv As PivotTable | |
For Each Piv In cnPivot.PivotTables | |
Piv.TableRange2.Clear | |
Next Piv | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment