+ Reply to Thread
Results 1 to 5 of 5

Adding a step to a macro

  1. #1
    Registered User
    Join Date
    09-30-2014
    Location
    Denver, CO
    MS-Off Ver
    2009
    Posts
    60

    Adding a step to a macro

    Hey guys,

    I am fairly new so bare with me. I have attached a report I have been working on for a few weeks. Now that the macro has been built on all of the pages under the same name "Update," I would like to add a step to the macro. The step is copying and pasting B8:B19-AF8:AF19 to the tab "LW." Anyone know a good way to add this step to my already-recorded macro rather than re-recording everything?

    Workbook added for reference. Thanks for your help - I appreciate the time.

    -Mitch
    Denver,CO
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-10-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    41

    Re: Adding a step to a macro

    Paste this towards the end of your macro just before End sub.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-30-2014
    Location
    Denver, CO
    MS-Off Ver
    2009
    Posts
    60

    Re: Adding a step to a macro

    Thanks, Vidya. If this would be for each month - how would I add each name to the Sheets("Oct 14").Select portion?

  4. #4
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Manchester, UK
    MS-Off Ver
    Microsoft Office 365
    Posts
    127

    Re: Adding a step to a macro

    Wouldn't you need Column A as well so you know what each of the rows are ?

    A8:A19 - AF8:AF19

    Dave

  5. #5
    Registered User
    Join Date
    09-30-2014
    Location
    Denver, CO
    MS-Off Ver
    2009
    Posts
    60

    Re: Adding a step to a macro

    Ok I answered my own question. If you take out the line that says the name of the tab - it will go to each page. Problem Solved - t hanks fellas

+ 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] preventing simple zoom macro from running step by step
    By reece1984 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-11-2012, 06:13 AM
  2. Help with Macro, need it to skip a step if that step isn't needed
    By CDNcameron in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-23-2012, 02:34 PM
  3. Still adding to Complex Macro...1 step at a time.
    By oberon.black in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2005, 01:05 PM
  4. [SOLVED] running macro step by step different from normal run??
    By Rinze Smit in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-26-2005, 11:05 AM
  5. [SOLVED] I need step by step instructions to create a macro for 10 imbedde.
    By diana in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2005, 10: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