+ Reply to Thread
Results 1 to 4 of 4

How Can I select PivotTable Row Labels in VBA

  1. #1
    Forum Contributor
    Join Date
    08-23-2010
    Location
    Staten Island, NY
    MS-Off Ver
    Excel 2003
    Posts
    242

    How Can I select PivotTable Row Labels in VBA

    I can use this to select Data Labels:

    Please Login or Register  to view this content.
    or I can use this to select the full Rows which includes their labels:

    Please Login or Register  to view this content.
    How can I select the Row labels Only?

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: How Can I select PivotTable Row Labels in VBA

    Does this get what you want?

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    08-23-2010
    Location
    Staten Island, NY
    MS-Off Ver
    Excel 2003
    Posts
    242

    Re: How Can I select PivotTable Row Labels in VBA

    Andy, thank you very much. It did not get me directly what I wanted (probably because I was not clear) but it gave me the conceptual thinking to figure it out on my own. Here is what did what I wanted:

    Please Login or Register  to view this content.
    Now I want to be able to loop through all those cells that get selected in that intersection. How can I do that? (the size of it will always be different so I cannot hard code an amount of loops.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: How Can I select PivotTable Row Labels in VBA

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1