Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 196
Default ambiguous name detected

In VB, you can have a control array.

In Excel (last I knew of), you can't.

But, Excel 2000 will let you give two controls the same
name.

However, once you've done that, it won't let you back into
the form (even if you disable macros). It just
says, "Ambigous name detected: ~"

Fortunately, this isn't a particular problem since I
pretty much came across it while testing, and have an
immediate backup copy of it.

But, for my info, is there a way to recover from that if
someone else were to do it and ask me about it?

Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default ambiguous name detected

Just press Esc a couple of times (Sometimes it takes more than a couple !),
and rename the control.

--
Regards,

Juan Pablo González

"mark" wrote in message
...
In VB, you can have a control array.

In Excel (last I knew of), you can't.

But, Excel 2000 will let you give two controls the same
name.

However, once you've done that, it won't let you back into
the form (even if you disable macros). It just
says, "Ambigous name detected: ~"

Fortunately, this isn't a particular problem since I
pretty much came across it while testing, and have an
immediate backup copy of it.

But, for my info, is there a way to recover from that if
someone else were to do it and ask me about it?

Thanks.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 196
Default ambiguous name detected

Just press Esc a couple of times (Sometimes it takes more
than a couple !),and rename the control.

that of course works if the problem is that it won't let
you create the ambiguous name.

but this morning, it let met creat the ambiguous name,
save the file, etc...

the question was if there was a way to recover AFTER the
ambiguous name was already created.

but, for now, it's unimportant. I have the other copy.
  #4   Report Post  
Posted to microsoft.public.excel.programming
jaf jaf is offline
external usenet poster
 
Posts: 300
Default ambiguous name detected

Hi Mark,
Yes.
Export the form and then open the form file with a hex editor and rename the
control.
Delete the form from the project and re-import the edited file.


--
John
johnf 202 at hotmail dot com


"mark" wrote in message
...
| Just press Esc a couple of times (Sometimes it takes more
| than a couple !),and rename the control.
|
| that of course works if the problem is that it won't let
| you create the ambiguous name.
|
| but this morning, it let met creat the ambiguous name,
| save the file, etc...
|
| the question was if there was a way to recover AFTER the
| ambiguous name was already created.
|
| but, for now, it's unimportant. I have the other copy.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 196
Default ambiguous name detected

Thanks.


-----Original Message-----
Hi Mark,
Yes.
Export the form and then open the form file with a hex

editor and rename the
control.
Delete the form from the project and re-import the edited

file.

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
ambiguous name detected? Derrick Excel Discussion (Misc queries) 7 July 8th 09 07:05 PM
Ambiguous error famdamly Excel Discussion (Misc queries) 1 February 27th 06 09:06 AM
why does ON = Ambiguous in substitution formula? waladd Excel Worksheet Functions 5 May 6th 05 05:29 PM
Ambiguous Name Detected Nigel[_5_] Excel Programming 11 October 26th 03 09:59 AM
Ambiguous Name Detected:~ jaf Excel Programming 0 September 12th 03 12:56 AM


All times are GMT +1. The time now is 06:16 PM.

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"