title: How can I get the ListObject object of a PivotTable?
body: <p>This question was originally posted as part of an <a href="https://stackoverflow.com/a/21321664/2712565">answer</a> by Hugh Seagraves on a related question. He "wanted to refer to a list object (a table) on one worksheet that a pivot table on a different worksheet refers to," and did have a fairly good answer, but asked if there was <em>a more direct way</em>.  I tried to tack onto his answer, but others felt it was changing the purpose of his answer.</p>
  
  <p>His reasoning was, "Since list objects are part of the Worksheets collection, you have to know the name of the worksheet that list object is on in order to refer to it." He provided some code, which would output the name of the table (ListObject) if you hadn't already created the Pivot Table. But I thought it might be helpful to have some generic code to get the <em>ListObject</em> object of any created Pivot Table, given the <em>PivotTable</em> name.</p>