Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 337
Default Resize a range

I have a range of records. i want to add a new record and then resize the range
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Resize a range

Assume it is a named range with a name of Data

Range("Data").currentRegion.Name = "Data"

or

set rng = range("Data")
rng.Resize(rng.rows.count+1).Name = "Data"

--
Regards,
Tom Ogilvy


"Oldjay" wrote:

I have a range of records. i want to add a new record and then resize the range

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 337
Default Resize a range

Thanks

"Tom Ogilvy" wrote:

Assume it is a named range with a name of Data

Range("Data").currentRegion.Name = "Data"

or

set rng = range("Data")
rng.Resize(rng.rows.count+1).Name = "Data"

--
Regards,
Tom Ogilvy


"Oldjay" wrote:

I have a range of records. i want to add a new record and then resize the range

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
Range.Delete and Range.Resize.Name performance issues Test.File Excel Programming 0 February 15th 05 03:33 PM
Range resize Ray Batig Excel Programming 4 September 7th 04 01:23 AM
Resize Range Question Ray Batig Excel Programming 3 August 31st 04 02:26 AM
Range Resize jacqui Excel Programming 2 April 6th 04 06:22 PM
Range Resize property jacqui[_2_] Excel Programming 7 February 24th 04 06:11 PM


All times are GMT +1. The time now is 06:52 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"