+ Reply to Thread
Results 1 to 4 of 4

Pivot Table Macro

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    26

    Pivot Table Macro

    I am trying to write a macro that will start on the the cell and column entered from user input and loop number of times entered by user. When you enter the starting point it starts on the next row no the initial.

    Example if you enter everything to start on B4 it actually starts on B5 then loops the correct number of times.

    Please Login or Register  to view this content.
    That is the code I have thus far. But can't seem to enter the correct code to get it to repeat. Any help would be greatly appreciated.
    Last edited by mike760534211; 10-22-2013 at 08:51 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Pivot Table Macro

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    05-09-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Pivot Table Macro

    Thank you for this. I forgot to enter the code. Working out the bugs. But i have attached it below.

  4. #4
    Registered User
    Join Date
    05-09-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Pivot Table Macro

    I have worked out a macro that will prompt for the first column & row of the pivot table reports that you want to extract. It will also prompt for the number of times to repeat so that you can start with any cell and will extract the amount you want automatically. The code is a little convoluted but works.

    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)

Similar Threads

  1. Macro Help Needed - Link Pivot Table Filter to Regular Table AutoFilter
    By ycx1129 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2011, 12:54 PM
  2. Macro to create pivot table/pivot chart
    By Karina in forum Excel General
    Replies: 2
    Last Post: 10-27-2011, 10:33 PM
  3. Macro to build pivot table based on another pivot table
    By tcowen61 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-31-2009, 10:41 AM
  4. Macro Pivot Table vs Manual Pivot Table - different results
    By vodka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2008, 04:43 PM
  5. Pivot table to launch Macro- preserve format under table options
    By Darin Kramer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2005, 02:05 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