+ Reply to Thread
Results 1 to 3 of 3

Start Macro Partway Through

  1. #1
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Start Macro Partway Through

    I like to change and edit my macros by going through them line by line by pressing F8. Whenever I change something, it makes me start at the beginning. Is there a way that I can run any line that I want to without having to start over every time I make a change?

  2. #2
    Registered User
    Join Date
    12-13-2012
    Location
    Mountains, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Start Macro Partway Through

    Quote Originally Posted by Jiptastic View Post
    I like to change and edit my macros by going through them line by line by pressing F8. Whenever I change something, it makes me start at the beginning. Is there a way that I can run any line that I want to without having to start over every time I make a change?
    A debuging tips site I have found helpful is: http://www.cpearson.com/excel/debug.htm

    I'm not a pro, but here is what I have done. While in debug mode, you can right click next to a statement, select "set next statement" and continue running with F8. If your code is particularly cumbersome, you may want try and simplify it by breaking into chuncks. Hope that is what you were looking for.

  3. #3
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Start Macro Partway Through

    Thanks. That's exactly what I needed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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