Results 1 to 4 of 4

VBA Pivot table only bring details of user

Threaded View

  1. #1
    Registered User
    Join Date
    02-14-2014
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    33

    Smile VBA Pivot table only bring details of user

    Hello, I am trying to look for some code for a Pivot Table for multiple users in excel 2007. What I would like to do is when some one opens the Pivot table Excel on their PC it will look at their Username and only bring back the information for themselves in the pivot table. I am fairly new to VBA so your help in this matter would be much appreciated. below is the code for creating the Pivot table which I recorded using the record Macro function.

    Sub gggggggg()
    '
    ' gggggggg Macro
    '

    '
    ActiveWorkbook.Worksheets("Sheet1").PivotTables("PivotTable1").PivotCache. _
    CreatePivotTable TableDestination:="Sheet5!R3C2", TableName:="PivotTable2" _
    , DefaultVersion:=xlPivotTableVersion10
    Cells(3, 2).Select
    ActiveWindow.SmallScroll Down:=-12
    End Sub
    Last edited by ZuneidDassu; 02-14-2014 at 07:43 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pivot Table - Sorted Details
    By daniel.preda in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-09-2013, 03:17 PM
  2. PIVOT TABLE - Show Details query
    By rich534714 in forum Excel General
    Replies: 2
    Last Post: 02-17-2011, 06:30 AM
  3. Pivot Table ..Show Details Report
    By tariqnaz2005 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2009, 04:55 AM
  4. Pivot Table Details
    By jon_wolf69 in forum Excel General
    Replies: 1
    Last Post: 11-03-2008, 02:18 PM
  5. Pivot table details
    By anandmr65 in forum Excel General
    Replies: 1
    Last Post: 05-09-2006, 09:10 AM

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