+ Reply to Thread
Results 1 to 5 of 5

Offset Alters Entire Range, Need To Offset A Single Cell

  1. #1
    Forum Contributor
    Join Date
    10-29-2019
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    156

    Offset Alters Entire Range, Need To Offset A Single Cell

    Hi, Im trying to offset the range in ValuesRange = Range("A1:A4"), but I need to just offset cell A4, atm it offsets the entire range so it looks like : A2:A5 A3:A6 etc., I just need the A4 part offset, so it looks like A1:A5, A1:A6, A1:A7 etc.,

    Is there anyway to do this, without splitting the range into two variables?

    Thanks.


    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Offset Alters Entire Range, Need To Offset A Single Cell

    Sounds like you need resize rather than offset

    This would extend the range by 1 row each time it was executed
    Please Login or Register  to view this content.
    Last edited by Andy Pope; 01-26-2020 at 10:39 AM. Reason: completed syntax
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Offset Alters Entire Range, Need To Offset A Single Cell

    How about
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    10-29-2019
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    156

    Re: Offset Alters Entire Range, Need To Offset A Single Cell

    Awesome, thanks

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Offset Alters Entire Range, Need To Offset A Single Cell

    You're welcome & thanks for the feedback

+ 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. Replies: 6
    Last Post: 11-13-2018, 04:54 AM
  2. How to offset previously offset-ed cell ?
    By freshe in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-07-2015, 09:34 AM
  3. Replies: 3
    Last Post: 06-01-2014, 10:26 AM
  4. Offset function not capturing entire range
    By shawnvon in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-09-2014, 03:09 AM
  5. function similar to offset to offset the offset
    By Jerseynjphillypa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2012, 03:07 PM
  6. Reformatting - insert formula with offset, then offset to next cell
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2011, 05:41 AM
  7. Replies: 7
    Last Post: 11-04-2008, 06:41 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