Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Resizing range

I have a range defined and what I'd like to do is redefine another range
programmatically that includes everything but the first row of the initial
range. Can someone assist?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Resizing range

dim myRng as range
dim my2ndRng as range

with worksheets("sheet9999")
set myrng = .range("somerangenamehere") 'or something
end with

with myrng
set my2ndrng = .resize(.rows.count-1,.columns.count).offset(1,0)
end with



Barb Reinhardt wrote:

I have a range defined and what I'd like to do is redefine another range
programmatically that includes everything but the first row of the initial
range. Can someone assist?

Thanks


--

Dave Peterson
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
resizing a range don Excel Programming 3 February 19th 06 12:23 PM
resizing a range don Excel Programming 3 February 18th 06 03:00 AM
Resizing my range - End row Jacqui Excel Programming 3 November 1st 05 06:00 PM
resizing a range Tim Kredlo Excel Programming 1 September 27th 05 08:30 PM
Resizing a Range NetWave128[_3_] Excel Programming 3 April 24th 04 11:16 AM


All times are GMT +1. The time now is 12:09 PM.

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

About Us

"It's about Microsoft Excel"