Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default 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.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default 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.


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
Dynamically changing cell's formula CW[_2_] Excel Worksheet Functions 1 October 11th 08 11:53 AM
Changing a formula dynamically. mg_sv_r Excel Worksheet Functions 2 August 20th 07 01:10 PM
changing selections dynamically [email protected] Excel Discussion (Misc queries) 1 August 22nd 06 04:23 PM
Dynamically changing the size of a list [email protected] Excel Discussion (Misc queries) 2 July 1st 06 04:56 AM
Dynamically changing several pivot tables at once Jason Excel Discussion (Misc queries) 3 December 16th 05 03:50 PM


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