LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Range Resize

I have the used the following piece of code to resize a
range in my file.

With Range(sRange)
..Offset(1, 5).Resize(.Rows.Count - 1, .Columns.Count - 5) _
..Name = (sRange & "data")
End With

However, I'd like to use the above for something else and
wondered if anyone could help with the settings.
In the above example, resize is being used to reduce the
area of my range, but what I'd like to is change the area.
For example, sRange represents the area of columns A to F
whereas I'd like it to represent columns G to U instead.
There is also a header row in row 1. How would I need to
adapt the above? and is Resize the correct property to
use?
Any help is appreciated.
Many thanks
Jacqui


 
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 do I resize a range of cells in a column in excel? Terri Excel Discussion (Misc queries) 6 December 20th 06 06:57 PM
I could NOT resize the axis title but excel allows me to resize gr Iwan Setiyono Ko Charts and Charting in Excel 4 June 6th 06 04:46 AM
Resize Range - Macro Danny Excel Worksheet Functions 11 October 22nd 05 12:37 AM
Range Resize property jacqui[_2_] Excel Programming 7 February 24th 04 06:11 PM
Resize Range Problem ExcelMonkey[_16_] Excel Programming 3 January 23rd 04 11:15 PM


All times are GMT +1. The time now is 05:39 PM.

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"