Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Macro Change Event Problem

Status
Not open for further replies.

osx99

Technical User
Apr 9, 2003
250
GB

I have an excel spreasheet where I have several combo boxes which are meant to trigger code on a change event

The problem is some of the combobox events trigger when other combo boxes are changed.

I decided to test by clearing out all code except 1 event

Private Sub Asset_Material_Change()
MsgBox ("why")
End Sub


This event runs no matter what combo box is changed???

Can anyone give any pointers on why this is happening?

(code is placed in sheet1 object and not Thisworkbook)

Thanks,
Os
 
Please post in the VBA forum: Forum707

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
For anyone else like myself who came across this one and was curious, it was reposted here:
thread707-1488104

--

"If to err is human, then I must be some kind of human!" -Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top