+ Reply to Thread
Results 1 to 4 of 4

Offset range by (0,1) then resize Rows -2 & columns -1

  1. #1
    Forum Contributor
    Join Date
    10-20-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    108

    Offset range by (0,1) then resize Rows -2 & columns -1

    Hi Guys,

    I am trying to offset a range A15 CurrentRegion by 1 column, then resize the area by -2 rows and -1 column.

    Everything is working bar the -1 column aspect.
    Could someone help please?



    Please Login or Register  to view this content.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Offset range by (0,1) then resize Rows -2 & columns -1

    how about this.
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Contributor
    Join Date
    10-20-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    108

    Re: Offset range by (0,1) then resize Rows -2 & columns -1

    This is perfect. Thank you.

    With all your help, my VBA is improving as I better understand concepts.

    Thanks again.

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Offset range by (0,1) then resize Rows -2 & columns -1

    Glad to help and thanks for rep+.

+ 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. [SOLVED] Understanding range objects used with .delete/.resize/.offset methods
    By joe31623 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-21-2016, 01:05 PM
  2. [SOLVED] Copy range of cells with Offset/Resize
    By frankie666 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-28-2013, 06:56 AM
  3. [SOLVED] How to resize range, to adjust number of columns?
    By Flowerski in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2012, 04:42 PM
  4. Can Resize and Offset be used on a range at the same time?
    By BeefNoodleSoup in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-28-2011, 06:56 AM
  5. 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
  6. resize colums / rows in range
    By philcud in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-26-2005, 01:05 PM
  7. [SOLVED] How can I resize columns and rows to inches?
    By Max Gough in forum Excel General
    Replies: 4
    Last Post: 06-30-2005, 07:05 PM

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