LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Oak Oak is offline
external usenet poster
 
Posts: 5
Default Combo Box Events - Self-Referencing

Would anyone know how to code a ComboBox self-reference, so that it could be used in a Combo Box processing procedure that was called from multiple ComboBox Change events, in each case referring to the specific ComboBox from which it was being called

For instance, in the below procedure I want to be able to use it in multiple ComboBox Change events and in each ComboBox, it will being making reference to its own value (ComboBox.Value), but not sure how to code to have each ComboBox make a self-reference that can be used in its code, but that is code that can be used in a procedure to be called from within multiple ComboBoxes?

Public Sub CBOItemProcess(
with WhatGoesHere?_that_could_reference_whatever_ComboB ox_the_procedure_was_being_called_fro
If .Value = "RT239" The
Call ThisProcedur
ElseIf .Value = "JY457" The
Call ThisOtherProcedur
ElseIf .Value = "WN2345" The
Call AnotherProcedur
End I
End Wit
End Su

Thank you for any assistance
 
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
linking a form combo box... results from the combo box to another Trey Excel Discussion (Misc queries) 1 July 15th 07 01:58 AM
referencing a different tab by referencing a list in the current s Kevin Excel Worksheet Functions 3 July 6th 07 07:57 PM
combo reference on another combo box for picking address etc. kbjin Excel Worksheet Functions 1 December 8th 06 03:29 PM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 1 February 16th 05 02:05 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 0 February 15th 05 07:45 PM


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