+ Reply to Thread
Results 1 to 3 of 3

Loop through pivot table field and paste results in next row

  1. #1
    Registered User
    Join Date
    09-15-2015
    Location
    London
    MS-Off Ver
    2007
    Posts
    7

    Loop through pivot table field and paste results in next row

    Hi,

    I am trying to write some code to loop through a field ("Name") in a pivot table then copy each values (b4) and paste the result in the next available cell in column D.

    I am new to VBA and failing miserably so appreciate assistance from anyone who can help. See attached.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Loop through pivot table field and paste results in next row

    Your code wasn't that bad.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    09-15-2015
    Location
    London
    MS-Off Ver
    2007
    Posts
    7

    Re: Loop through pivot table field and paste results in next row

    Perfect. Thanks very much for your help!

+ 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. Replies: 10
    Last Post: 05-18-2015, 04:32 AM
  2. Replies: 0
    Last Post: 02-18-2013, 03:50 PM
  3. Replies: 0
    Last Post: 06-26-2012, 09:06 PM
  4. Replies: 3
    Last Post: 03-03-2012, 12:16 PM
  5. [SOLVED] Totals of calculated field in pivot table give incorrect results
    By Jake in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2006, 02:20 PM
  6. Replies: 0
    Last Post: 09-27-2005, 07:05 PM
  7. Replies: 0
    Last Post: 05-16-2005, 06:06 PM

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