![]() |
Changing Reference Dynamically
Hi,
On my Data Worksheet, I have defined DataAmt as A1:A65000. How can i change it to some other value ex. A1:A100 ? Thanks in advance. |
Changing Reference Dynamically
Shashi,
You can try the following: Range(Range("A1"), Range("A65536").End(xlUp)).Name = "DataAmt" The above will create a named range (DataAmt) from A1 to the last cell in column "A" that contains a value (or text). John Shashi Bhosale wrote: Hi, On my Data Worksheet, I have defined DataAmt as A1:A65000. How can i change it to some other value ex. A1:A100 ? Thanks in advance. |
All times are GMT +1. The time now is 08:36 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com