+ Reply to Thread
Results 1 to 2 of 2

Getting Range to move 1 column left and resize by 1

  1. #1
    Registered User
    Join Date
    08-18-2004
    Posts
    15

    Getting Range to move 1 column left and resize by 1

    I have a range selected. I want to move this range selection 1 column to the left and i wish to chop 1 cell off from the top and the bottom at the same time.

    Eg My original selection is C1:C5

    I need my new selection to be B2:B4

    Is there a nice way of doing this with code?

    I am going to eventually set this to equal a range variable

    Thanks

    Mozart

  2. #2
    Geeves
    Guest

    Re: Getting Range to move 1 column left and resize by 1

    look at offset
    i.e

    Set Start = .Range("m5").Offset(i, 0) 'first cell = m6

    "mozart" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a range selected. I want to move this range selection 1 column to
    > the left and i wish to chop 1 cell off from the top and the bottom at
    > the same time.
    >
    > Eg My original selection is C1:C5
    >
    > I need my new selection to be B2:B4
    >
    > Is there a nice way of doing this with code?
    >
    > I am going to eventually set this to equal a range variable
    >
    > Thanks
    >
    > Mozart
    >
    >
    > --
    > mozart
    > ------------------------------------------------------------------------
    > mozart's Profile:
    > http://www.excelforum.com/member.php...o&userid=13314
    > View this thread: http://www.excelforum.com/showthread...hreadid=398487
    >




+ 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