Need Deluge access rows and columns in a pivot table

Need Deluge access rows and columns in a pivot table

Can you provide some sample code to access the rows and columns of a pivot table?

I can rely on using a named range but where does one name / change name of the pivot table?

Just need a little sample code to get me going in the correct direction.

Thank you.

Ken