Set layout and format options

Refer to the following example code to see how to set the layout and format options for a Pivot Table.