Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing the address of sheet range

Status
Not open for further replies.

Chrissirhc

Programmer
May 20, 2000
926
GB
Hello,

How do I change the size of a range in a sheet?

the address property is read only

and when I do

range("data") = range("data").resize (10, 0)

I get an error.

Any ideas?

Thanks,

Chris
 
You mean change the range of a defined name maybe?

Names("data").RefersTo = Range("data").Resize(10, 3)

although your resize is trying to make a range of width zero columns ( not recommended ).


Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top