Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Drop-down list triggering the wrong routine

I have a drop-down list box on sheet A of a workbook that triggers the
_change() routine of another drop-down list box on sheet B, BEFORE triggering
its own _change() routine. The list boxes do not have the same name. It only
happens when both lists have a selected item and one is changed. I have used
the "Caller" property which tells me that an error called the routine but I
can't find any link between these two rotines, their linked cells or fill
cells. Can anyone help explain this or how I can interrogate the system to
find out its path?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Drop-down list triggering the wrong routine

I'm betting that you have the linkedcell or the listfillrange on the same sheet.

If you move those to another sheet, does it work ok?

In fact, another option is to remove the linkedcell and listfillrange and
populate the "linkedcell" via code and populate the listbox via code.

Broadband Al wrote:

I have a drop-down list box on sheet A of a workbook that triggers the
_change() routine of another drop-down list box on sheet B, BEFORE triggering
its own _change() routine. The list boxes do not have the same name. It only
happens when both lists have a selected item and one is changed. I have used
the "Caller" property which tells me that an error called the routine but I
can't find any link between these two rotines, their linked cells or fill
cells. Can anyone help explain this or how I can interrogate the system to
find out its path?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Drop-down list triggering the wrong routine

I have checked the linked cell and list fill - I have even deleted both boxes
and recreated them in design time - the same occurs. I haven't tried
run-time but I would really like to understand what is happening here. Any
other ideas?

"Dave Peterson" wrote:

I'm betting that you have the linkedcell or the listfillrange on the same sheet.

If you move those to another sheet, does it work ok?

In fact, another option is to remove the linkedcell and listfillrange and
populate the "linkedcell" via code and populate the listbox via code.

Broadband Al wrote:

I have a drop-down list box on sheet A of a workbook that triggers the
_change() routine of another drop-down list box on sheet B, BEFORE triggering
its own _change() routine. The list boxes do not have the same name. It only
happens when both lists have a selected item and one is changed. I have used
the "Caller" property which tells me that an error called the routine but I
can't find any link between these two rotines, their linked cells or fill
cells. Can anyone help explain this or how I can interrogate the system to
find out its path?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Drop-down list triggering the wrong routine

Sorry, no.

Broadband Al wrote:

I have checked the linked cell and list fill - I have even deleted both boxes
and recreated them in design time - the same occurs. I haven't tried
run-time but I would really like to understand what is happening here. Any
other ideas?

"Dave Peterson" wrote:

I'm betting that you have the linkedcell or the listfillrange on the same sheet.

If you move those to another sheet, does it work ok?

In fact, another option is to remove the linkedcell and listfillrange and
populate the "linkedcell" via code and populate the listbox via code.

Broadband Al wrote:

I have a drop-down list box on sheet A of a workbook that triggers the
_change() routine of another drop-down list box on sheet B, BEFORE triggering
its own _change() routine. The list boxes do not have the same name. It only
happens when both lists have a selected item and one is changed. I have used
the "Caller" property which tells me that an error called the routine but I
can't find any link between these two rotines, their linked cells or fill
cells. Can anyone help explain this or how I can interrogate the system to
find out its path?


--

Dave Peterson


--

Dave Peterson
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
drop down list based on other drop down list pick Ruth Excel Discussion (Misc queries) 1 August 25th 09 04:12 PM
Drop down starts on wrong row ray72 Excel Discussion (Misc queries) 1 June 20th 08 07:33 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM
vba routine to print a list of documents/worksheets Mirsten Choiple[_2_] Excel Programming 2 May 26th 05 12:00 AM
triggering different macros from list box? hammer Excel Programming 9 October 14th 03 10:37 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"