Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Issues with Combo Box change event

Hi,

I have a worksheet in which depending upon user selection one of the
available templates(other worksheets in the workbook)is copied to a new
sheet named as Input.

I have a combo box on the templates. And I have an event associated with
the comboBox (AxialDyn_CMB).

Private Sub AxialDyn_CMB_Change()

Call AxialDynSelection

End Sub

Now when I copy the template this code also get copied to the Input
sheet. When I change the selection in combo box on input worksheet excel
runs both the instances of above code i.e. it runs the"Private Sub
AxialDyn_CMB_Change()" for both the template and the Input worksheet.

I always thought that private subs are only associated for the sheet
they are written for. But this issue defies it.

Can anyone please help me with this.


Regards
Akansha

*** Sent via Developersdex http://www.developersdex.com ***
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
Combo box change event fires twice Smurfette18 Excel Programming 4 December 20th 07 06:39 PM
Worksheet change event with cell linked to combo box result Fid[_2_] Excel Programming 5 December 22nd 06 08:55 PM
combo box change event Tom Excel Programming 3 May 11th 05 07:18 PM
No change event on control toolbox combo box when selection is the same? Don Wiss Excel Programming 0 December 26th 04 01:31 PM
Help with a Combo Box Change Event Ruan[_3_] Excel Programming 1 October 28th 03 08:51 AM


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