+ Reply to Thread
Results 1 to 3 of 3

Use vba to get detail from pivot table selection

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    42

    Use vba to get detail from pivot table selection

    Hello,

    I am not sure what this is called if it has a name, but I am trying to get the detail from a pivot table based on the cell that is selected.
    The kind of info that is shown when you hover the cursor over a pivot table value.

    Capture.JPG

    In yellow on the attachment shows what i am after.

    Does anybody know how to reference this in vba?

    Thanks
    Matt

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Use vba to get detail from pivot table selection

    All that information is properties of the PivotCell object, of the Range. So you could access it something like:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    06-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Use vba to get detail from pivot table selection

    thank you helped me get exactly what i needed!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Pivot Table Detail - Macro to double click/show detail
    By popps in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2012, 11:28 AM
  2. show detail in pivot table
    By BALP01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-13-2011, 01:02 PM
  3. Pivot table not retaining detail
    By whiteheadw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2010, 08:21 PM
  4. Cell detail in pivot table
    By LizFL in forum Excel General
    Replies: 1
    Last Post: 08-02-2006, 04:30 PM
  5. Displaying pivot table detail
    By Coop@nationwide in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-24-2006, 10:40 PM
  6. Pivot table - show detail
    By Wolfie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2006, 10:10 AM
  7. Pivot Table - cubed detail
    By Chris Segrave in forum Excel General
    Replies: 2
    Last Post: 09-13-2005, 08:05 PM
  8. show detail in pivot table
    By robbie in forum Excel General
    Replies: 5
    Last Post: 06-14-2005, 04:15 PM

Tags for this Thread

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