Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default Named Range not appearing in names drop down

Hi All,

Sorry if posted to 2 newsgroups - my mistake.

The code snippet below has been used to add a named range and this
appears via Insert, Define, Names and can be used for calculations
etc. The problem is if l use the drop down name box it is not there!
can anybodt throw some light on this please. I need the name to appear
in the dropdown


ActiveWorkbook.Names.add Name:=RngName, RefersTo:= _
"=OFFSET(" & sht & tlc & ",0,0," & Rfun & "," & Cfun & ")"

Regards

Michael
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Named Range not appearing in names drop down

Dynamic range names do appear in the dropown. The reason is presumably
because selecting an item from that list goes to that range, and it is not
determined at that point where the range points to, that info is updated
when the range name is created/updated, so it doesn't know where a dynamic
range name points at.

--
__________________________________
HTH

Bob

"michael.beckinsale" wrote in message
...
Hi All,

Sorry if posted to 2 newsgroups - my mistake.

The code snippet below has been used to add a named range and this
appears via Insert, Define, Names and can be used for calculations
etc. The problem is if l use the drop down name box it is not there!
can anybodt throw some light on this please. I need the name to appear
in the dropdown


ActiveWorkbook.Names.add Name:=RngName, RefersTo:= _
"=OFFSET(" & sht & tlc & ",0,0," & Rfun & "," & Cfun & ")"

Regards

Michael



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default Named Range not appearing in names drop down

Hi Bob,

Thanks for respondind so quickly, l think you had a typo, did you mean
dynamic ranges DO NOT appear in the dropdown?

Regards

Michael
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Named Range not appearing in names drop down

your Name refers to a formula rather than just a Range reference, and Named
Formulae do not appear in the Names Box dropdown.
(they do appear when using Name Manager -
http://www.decisionmodels.com/downloads.htm )

Charles
___________________________________
The Excel Calculation Site
http://www.decisionmodels.com

"michael.beckinsale" wrote in message
...
Hi Bob,

Thanks for respondind so quickly, l think you had a typo, did you mean
dynamic ranges DO NOT appear in the dropdown?

Regards

Michael





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Named Range not appearing in names drop down

Indeed it was, indeed I did.

--
__________________________________
HTH

Bob

"michael.beckinsale" wrote in message
...
Hi Bob,

Thanks for respondind so quickly, l think you had a typo, did you mean
dynamic ranges DO NOT appear in the dropdown?

Regards

Michael



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
Create named ranges WITHOUT using the Names Cells or Range Fernando Fernandes[_2_] Excel Programming 16 April 28th 09 07:14 AM
Range Names Appearing Like "Watermarks" LarryP Excel Discussion (Misc queries) 2 February 9th 09 07:51 PM
Named Range: Same Names, Multiple Workbooks with Same Sheet Name BEEJAY Excel Discussion (Misc queries) 4 November 7th 08 03:19 PM
VBA defined named range not appearing in Names list... George Excel Programming 13 October 15th 07 05:45 PM
Variable names for named range Barb Reinhardt Excel Discussion (Misc queries) 4 March 19th 07 05:37 PM


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