Results 1 to 7 of 7

Selecting a range with relative reference

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-01-2006
    Location
    Erie, Pa USA
    MS-Off Ver
    Vista - Excel 2003
    Posts
    132

    Selecting a range with relative reference

    Newbie quesiton, I know.

    A cell has been selected in VBA by using "
    ActiveCell.Offset(-1, 3).Select
    ". How do you select a range starting with that point going out to the end of the sheet in the same row?

    For example the "
    ActiveCell.Offset(-1, 3).Select
    " may end up at J3. I want to then select range J3 through IV3.

    The start point will be different every time.

    Thanks
    Last edited by VBA Noob; 03-03-2008 at 11:35 AM.

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