+ Reply to Thread
Results 1 to 2 of 2

Adding formula to active table and for pivot table in macro

  1. #1
    Forum Contributor
    Join Date
    10-16-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    112

    Adding formula to active table and for pivot table in macro

    This is what I am trying to do

    I have a table that's generated from access, and want to use a micro to create the pivot table for me.
    Each week there will be more rows added or removed to the project so that's where I am having trouble selecting the range of the pivot table.

    Here are the steps I take to create the table
    1) Delete the first 26 rows. ALWAYS THE SAME
    2) Add a New Column and called it Project can CONCATENATE the first two columns (carry formula for entire column)
    3) Add a new column called filter and use a if function (carry formula for entire column)
    4) create pivot table
    5) Drag in fields i need for the pivot table
    6) Now this is also where I have trouble as well, sort the total saving from highest to lowest and select the condition formatting with the red data bar for the total saving by owner.

    Here is the macro I created using the recording feature
    Please Login or Register  to view this content.
    Last edited by Jerseynjphillypa; 05-09-2012 at 09:12 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: Macro Help

    Jerseynjphillypa,

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Also,

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    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]

+ 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