Get detail range
Refer to the following example code to see how to get the detail range of a Pivot Table.