title: Get the selected pivot table name - Excel VBA
body: <p>I have two pivot tables on one excel sheet. I would like to know how do you get the name of a selected pivot table with Excel VBA?</p>
  
  <p>I tried <code>ActiveSheet.PivotTables.Selected</code>, but this is not a supported property.</p>