Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Please help with Range.Resize

I need to resize a Range from a Name object, but always receive errors.
....
ThisWorkbook.Names("data").RefersToRange.Rows.Resi ze(10)

What is the right way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Please help with Range.Resize

Range("data").Resize(10).Name = "data"


--
__________________________________
HTH

Bob

"Alexey" wrote in message
...
I need to resize a Range from a Name object, but always receive errors.
...
ThisWorkbook.Names("data").RefersToRange.Rows.Resi ze(10)

What is the right way to do this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Please help with Range.Resize

Thanks

"Bob Phillips" wrote:

Range("data").Resize(10).Name = "data"


--
__________________________________
HTH

Bob

"Alexey" wrote in message
...
I need to resize a Range from a Name object, but always receive errors.
...
ThisWorkbook.Names("data").RefersToRange.Rows.Resi ze(10)

What is the right way to do this?




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
Resize a range Oldjay Excel Programming 2 October 23rd 06 04:35 PM
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


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