+ Reply to Thread
Results 1 to 9 of 9

Select range from active cell

  1. #1
    Valued Forum Contributor
    Join Date
    03-23-2008
    Location
    Tennessee
    MS-Off Ver
    Office 2007
    Posts
    706

    Select range from active cell

    Me again, Gurus.

    I'm trying to copy a range of cells, starting with the active cell plus 2 columns to the right of the active cell. Here's what I've got, and every variation I could think of, but nothing seems to work:
    Please Login or Register  to view this content.
    Thanks in advance, again, for any help you can offer.
    Last edited by [email protected]; 09-22-2010 at 11:42 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    523

    Re: Select range from active cell

    Does this do it:

    Please Login or Register  to view this content.
    Excel 365 user. To unblock a downloaded macro-enabled workbook, go to your "Downloads" folder > right click on the workbook name > click 'Properties' > check the 'Unblock' checkbox. You can now open the workbook.

  3. #3
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Select range from active cell

    You were *so* nearly there.

    Please Login or Register  to view this content.

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Select range from active cell

    Or:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  5. #5
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Select range from active cell

    Bloody minimalists...

    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Select range from active cell

    Declare each variable on a separate line and it will make your code look longer.

  7. #7
    Valued Forum Contributor
    Join Date
    03-23-2008
    Location
    Tennessee
    MS-Off Ver
    Office 2007
    Posts
    706

    Re: Select range from active cell

    Sooooo close. I swear I thought I had tried that.

    One last question. Now I need to past that range down the sheet, to the last row. I'm trying to select the range to paste the formulas to. Here's what I've got, but as usual, it's not working:
    Please Login or Register  to view this content.
    Sorry to be such a pain.

  8. #8
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Select range from active cell

    Missing quote mark before the O

  9. #9
    Valued Forum Contributor
    Join Date
    03-23-2008
    Location
    Tennessee
    MS-Off Ver
    Office 2007
    Posts
    706

    Re: Select range from active cell

    I always miss the simplest stuff. Thanks, Stomper, again.

    Andrew, that's hilarious. I'm gald you didn't send me THAT code to tre to select the range. I would've just given up completely. :-)

    Have a good one, all.

+ 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