LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Multiple ComboBoxes and TextBoxes on Userform

Sorry, you lost me my friend. "Change" will trap change events, and you state that it does
that well. So just put something in each Change event that screams out which one that
changed.
?
I am probably missing something.
--
HTH. Best wishes Harald
Followup to newsgroup only please.

"Rich J" wrote in message
...
Thanks for commenting Harald. Luckily I don't think I need the _click event. What I

need seems to work on _change.
I found this code in a help from a while back on here but I don't understand all how it

works and it is dependent on clicking a specifice combobox. I followed the actions and it
makes any combobox that does not have a ' 1 ' invisible. There is a clue to what I need
but can't put it into practice. The names are detected but still need a way to detect any
combo or text box that is changed.

Private Sub combobox1_Click()
For Each CTRL In UserForm3.Controls
If TypeOf CTRL Is MsForms.ComboBox Then
Set CBOX = CTRL
If Right(CBOX.Name, 1) < 1 Then
CBOX.Visible = False
End If
End If
Next
Controls("Combobox" & ComboBox1.ListIndex + 2).Visible = True
Me.Repaint
End Sub



 
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
UserForm TextBoxes Rob Excel Discussion (Misc queries) 2 August 6th 05 03:07 AM
Clear Comboboxes & Textboxes MBlake New Users to Excel 3 May 2nd 05 10:29 PM
userform textboxes again Jo[_6_] Excel Programming 4 October 21st 03 07:25 PM
userform textboxes Jo[_6_] Excel Programming 4 October 21st 03 07:15 PM
Several comboBoxes on a Userform mor.mic Excel Programming 3 October 1st 03 09:44 PM


All times are GMT +1. The time now is 06:53 AM.

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"