ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Referencing comboboxes in VBA (https://www.excelbanter.com/excel-programming/310466-referencing-comboboxes-vba.html)

SOS[_31_]

Referencing comboboxes in VBA
 

Hi all,

I have a spreadsheet on which will be two comboboxes and my code modul
is dependent on the values from them. So, how do I reference them i
VBA in order to extract the value from them to use in my code?

TIA

Seamu

--
SO
-----------------------------------------------------------------------
SOS's Profile: http://www.excelforum.com/member.php...nfo&userid=540
View this thread: http://www.excelforum.com/showthread.php?threadid=26139


Mike Fogleman

Referencing comboboxes in VBA
 
your variable = ComboBox1.Value

Mike F
"SOS" wrote in message
...

Hi all,

I have a spreadsheet on which will be two comboboxes and my code module
is dependent on the values from them. So, how do I reference them in
VBA in order to extract the value from them to use in my code?

TIA

Seamus


--
SOS
------------------------------------------------------------------------
SOS's Profile:

http://www.excelforum.com/member.php...fo&userid=5406
View this thread: http://www.excelforum.com/showthread...hreadid=261391





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com