+ Reply to Thread
Results 1 to 6 of 6

select a range of cells using .Offset

  1. #1
    Forum Contributor
    Join Date
    07-12-2013
    Location
    Los angeles, CA
    MS-Off Ver
    Excel 2007
    Posts
    109

    select a range of cells using .Offset

    Is there a way to select multiple cells at once if referencing to a different cell? Something along the lines of:

    Please Login or Register  to view this content.
    This line of code gives an error and I'm looking for the proper syntax.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: select a range of cells using .Offset

    To select A1 and C1 together, this is what the syntax looks like. Range("A1, C1").select

  3. #3
    Forum Contributor
    Join Date
    07-12-2013
    Location
    Los angeles, CA
    MS-Off Ver
    Excel 2007
    Posts
    109

    Re: select a range of cells using .Offset

    I am trying to select cell.offset(0,1) through cell.offset(0,6)

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: select a range of cells using .Offset

    maybe try cell.resize(1,7).select?

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: select a range of cells using .Offset

    May be

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-12-2013
    Location
    Los angeles, CA
    MS-Off Ver
    Excel 2007
    Posts
    109

    Re: select a range of cells using .Offset

    Thanks, the .Resize function works like a charm!

+ 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. Select a Range of Cells Offset from a Selected Merged cell
    By kelvomatic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-07-2013, 05:52 PM
  2. select range using offset or resize property
    By longhorn23 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2010, 06:16 PM
  3. Macro to select offset range
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2007, 10:50 AM
  4. Help in using an Offset in a .Range().Select
    By roblo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-26-2005, 06:05 PM
  5. [SOLVED] Problem with Range.Cells.Offset and Range.Cells( row + offset, column)
    By erazmus@actrix.co.nz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2005, 01:05 AM

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