+ Reply to Thread
Results 1 to 4 of 4

Macro to select offset range

  1. #1
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299

    Macro to select offset range

    I am working on a macro that finds text then inserts an entire row and fills down formulas in col. H, J, N:BC into new row.
    I have everything done up to N:BC. I need to copy those formulas down into the new line. I don't know how to select that range by offsetting. The macro ends on the new line at column N.
    Here is my macro. If there is a better way to do what I have already done. please help.

    Please Login or Register  to view this content.
    Thank you very much for your time and help.

  2. #2
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299
    got it. A little more tricky but here it is.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-05-2007
    Location
    Lexington, MA
    Posts
    302
    There is nothing wrong with your code, and there is a saying that any code that works is better than any code that doesn't. Since you solved your own problem, and published the results, I thought I would suggest what it could look like with some simplification, for your next project. I've been there myself.

    In fact, there may be typos in the code below, because I haven't run it.

    Please Login or Register  to view this content.
    Last edited by FrankBoston; 08-27-2007 at 03:43 PM.
    FrankBoston is the pen name for Andrew Garland, Lexington MA

  4. #4
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299
    Thank you very much for your time. Your simplified version really sheds some light.

+ 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