ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   macro & comobox (https://www.excelbanter.com/excel-programming/280790-macro-comobox.html)

pandino

macro & comobox
 
I have a combobox with 10 items in the first line of an
excel sheet column. I'd like to create a macro to fill
active cell with a value from this combobox. How should I
do?
Thanks for support!

Tom Ogilvy

macro & comobox
 
Private Sub Combobox1_Click()
ActiveCell.Value = Combobox1.Value
End Sub

--
Regards,
Tom Ogilvy

"pandino" wrote in message
...
I have a combobox with 10 items in the first line of an
excel sheet column. I'd like to create a macro to fill
active cell with a value from this combobox. How should I
do?
Thanks for support!





All times are GMT +1. The time now is 02:44 PM.

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