Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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 t
the left and i wish to chop 1 cell off from the top and the bottom a
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

Mozar

--
mozar
-----------------------------------------------------------------------
mozart's Profile: http://www.excelforum.com/member.php...fo&userid=1331
View this thread: http://www.excelforum.com/showthread.php?threadid=39848

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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" wrote in
message ...

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I move data from a row range to a column range Josh W Excel Discussion (Misc queries) 4 March 10th 09 03:13 PM
how do I resize a range of cells in a column in excel? Terri Excel Discussion (Misc queries) 6 December 20th 06 06:57 PM
How do I Move column A, B, etc. to left side. TeesPlus New Users to Excel 1 February 24th 06 07:32 PM
Move/Resize PlotArea John Charts and Charting in Excel 3 June 10th 05 04:21 PM
move y-axis labels on column chart from left to right side Kaye Charts and Charting in Excel 3 June 3rd 05 12:59 PM


All times are GMT +1. The time now is 07:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"