Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Named Lists and the letter 'c'?

I am working on a tamplte which uses data validation to create drop-down
lists. From the answers in one drop-down I use the "INDIRECT" function to
call the list for a second drop-down. This works very well except that one
of my listings for the first drop-down is the letter "C". They are all
letters, and I have set up named lists for all of them. However, when I
attempt to set up a named list with the letter "C" as it's name I get
"Invalid Name".

Is this name reserved for some other reason?

Jeffrey K. Ries
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Named Lists and the letter 'c'?

Hi Jeffrey

it looks like "c" as range name is not allowed .. if i create a range using
insert / name / create ... the column headed "c" has a range name created of
"c_"

can't think of a workaround :(

Cheers
JulieD

"Spongebob" wrote in message
...
I am working on a tamplte which uses data validation to create drop-down
lists. From the answers in one drop-down I use the "INDIRECT" function to
call the list for a second drop-down. This works very well except that
one
of my listings for the first drop-down is the letter "C". They are all
letters, and I have set up named lists for all of them. However, when I
attempt to set up a named list with the letter "C" as it's name I get
"Invalid Name".

Is this name reserved for some other reason?

Jeffrey K. Ries



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Named Lists and the letter 'c'?

Hi Jeffrey,

I've never noticed that before, but it looks like "c" and "r" cannot be used
as names. If you type "c" or "r" in the name box, the active cell's column
or row, respectively, is selected.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


Spongebob wrote:
I am working on a tamplte which uses data validation to create
drop-down lists. From the answers in one drop-down I use the
"INDIRECT" function to call the list for a second drop-down. This
works very well except that one of my listings for the first
drop-down is the letter "C". They are all letters, and I have set up
named lists for all of them. However, when I attempt to set up a
named list with the letter "C" as it's name I get "Invalid Name".

Is this name reserved for some other reason?

Jeffrey K. Ries


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Named Lists and the letter 'c'?

Grüezi Jake

Jake Marx schrieb am 28.02.2005

I've never noticed that before, but it looks like "c" and "r" cannot be used
as names. If you type "c" or "r" in the name box, the active cell's column
or row, respectively, is selected.


Here with German region-settings these are the letters 'Z' and 'S'.

.....which would result that these letters are reseved for internal use and
not for use as a variable or range name.


Regards
Thomas Ramel

--
- MVP for Microsoft-Excel -
[Win XP Pro SP-2 / xl2000 SP-3]
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Named Lists and the letter 'c'?

or A1 or B9 or RC or almost anything that looks like a range reference.

--
Regards,
Tom Ogilvy


"Jake Marx" wrote in message
...
Hi Jeffrey,

I've never noticed that before, but it looks like "c" and "r" cannot be

used
as names. If you type "c" or "r" in the name box, the active cell's

column
or row, respectively, is selected.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


Spongebob wrote:
I am working on a tamplte which uses data validation to create
drop-down lists. From the answers in one drop-down I use the
"INDIRECT" function to call the list for a second drop-down. This
works very well except that one of my listings for the first
drop-down is the letter "C". They are all letters, and I have set up
named lists for all of them. However, when I attempt to set up a
named list with the letter "C" as it's name I get "Invalid Name".

Is this name reserved for some other reason?

Jeffrey K. Ries






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Named Lists and the letter 'c'?

Hi Tom,

Tom Ogilvy wrote:
or A1 or B9 or RC or almost anything that looks like a range
reference.


I was aware of those, but the "c" and "r" behavior took me by surprise.
Maybe I just haven't been paying attention. <g

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Named Lists and the letter 'c'?

R1C1 notation or had you already surmised that. R is entire row, C is
entire column.

--
Regards,
Tom Ogilvy

"Jake Marx" wrote in message
...
Hi Tom,

Tom Ogilvy wrote:
or A1 or B9 or RC or almost anything that looks like a range
reference.


I was aware of those, but the "c" and "r" behavior took me by surprise.
Maybe I just haven't been paying attention. <g

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]



  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Named Lists and the letter 'c'?

Tom Ogilvy wrote:
R1C1 notation or had you already surmised that. R is entire row, C
is entire column.


I figured it had to do with R1C1 notation, but I had never seen the behavior
before. I see that typing R2C takes me to the second row and the active
cell's column. Interesting, but probably not something I'll use. I don't
use R1C1 notation much anyway....

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Named Lists and the letter 'c'?

Thank you all for your quick replys.

I am almost pleased with myself for stumbling upon something you experts had
not, however I still have the issue. :(

I obviously will have to resort to a work-around, which is fine by me - but
I just know that once I release it to the troops I will hear many comments on
why I didn't do it the 'easy' way.

*sigh*
Jeffrey K. Ries


"Jake Marx" wrote:

Tom Ogilvy wrote:
R1C1 notation or had you already surmised that. R is entire row, C
is entire column.


I figured it had to do with R1C1 notation, but I had never seen the behavior
before. I see that typing R2C takes me to the second row and the active
cell's column. Interesting, but probably not something I'll use. I don't
use R1C1 notation much anyway....

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Named Lists and the letter 'c'?

Hi Jeffrey,

Spongebob wrote:
I am almost pleased with myself for stumbling upon something you
experts had not, however I still have the issue. :(


I don't know if anyone was surprised but me, but I'm glad I could make you
feel better. <g

I obviously will have to resort to a work-around, which is fine by me
- but I just know that once I release it to the troops I will hear
many comments on why I didn't do it the 'easy' way.


That's one of the reasons I preface named ranges with something indicating
what they represent. For example, if a named range represents a column, I
may use "col_"; for a row, "row_"; for a range, "rng_"; hidden names are
"hb_" (boolean) or "hl_" (long), etc.

So in this case, you may want to preface the named ranges with something,
which in this case gives you the added benefit of avoiding built-in names.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]



  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Named Lists and the letter 'c'?

Unfortunately, I am using the result of one validation drop-down to filter
the results of the second drop-down. In other words, if I use names such as
you speak I would have to add them to the entries of the first drop-down.
This would look pretty confusing to the end-user.

Jeffrey K. Ries

"Jake Marx" wrote:

Hi Jeffrey,

Spongebob wrote:
I am almost pleased with myself for stumbling upon something you
experts had not, however I still have the issue. :(


I don't know if anyone was surprised but me, but I'm glad I could make you
feel better. <g

I obviously will have to resort to a work-around, which is fine by me
- but I just know that once I release it to the troops I will hear
many comments on why I didn't do it the 'easy' way.


That's one of the reasons I preface named ranges with something indicating
what they represent. For example, if a named range represents a column, I
may use "col_"; for a row, "row_"; for a range, "rng_"; hidden names are
"hb_" (boolean) or "hl_" (long), etc.

So in this case, you may want to preface the named ranges with something,
which in this case gives you the added benefit of avoiding built-in names.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


  #12   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default Named Lists and the letter 'c'?

Jeffrey

You can use "c." as a valid range name. That may be less confusing, but
still get around the problem.

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com

Spongebob wrote:
Unfortunately, I am using the result of one validation drop-down to
filter the results of the second drop-down. In other words, if I use
names such as you speak I would have to add them to the entries of
the first drop-down. This would look pretty confusing to the end-user.

Jeffrey K. Ries

"Jake Marx" wrote:

Hi Jeffrey,

Spongebob wrote:
I am almost pleased with myself for stumbling upon something you
experts had not, however I still have the issue. :(


I don't know if anyone was surprised but me, but I'm glad I could
make you feel better. <g

I obviously will have to resort to a work-around, which is fine by
me - but I just know that once I release it to the troops I will
hear many comments on why I didn't do it the 'easy' way.


That's one of the reasons I preface named ranges with something
indicating what they represent. For example, if a named range
represents a column, I may use "col_"; for a row, "row_"; for a
range, "rng_"; hidden names are "hb_" (boolean) or "hl_" (long), etc.

So in this case, you may want to preface the named ranges with
something, which in this case gives you the added benefit of
avoiding built-in names.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]



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
letter recognition in drop down lists henben Excel Discussion (Misc queries) 1 September 8th 09 07:57 PM
Formula not working when letter A is used in a named range jimar Excel Discussion (Misc queries) 7 July 6th 06 11:43 AM
if the value in cell g577,print worksheet named letter Help with a Formula New Users to Excel 1 April 8th 06 06:58 PM
link cells in named lists LSimon Excel Discussion (Misc queries) 1 February 13th 06 08:40 PM
Sorting lists of Named Ranges Daniel Magnus Bennét Björck Excel Programming 5 February 11th 04 10:02 AM


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