SyntaxFix
Write A Post
Hire A Developer
Questions
A much easier way is to go to Data and select Group or Subtotal. Instant collapsible rows without messing with pivot tables or VBA.