ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   command button to combo box (https://www.excelbanter.com/excel-programming/407914-command-button-combo-box.html)

hoysala

command button to combo box
 
dear all

i have number of commnad buttton in embedded in a sheet

i want to shift to a combobox

please guide me

Office_Novice

command button to combo box
 
Select a Combo Box from the Tool box tool bar.
Right click the combobox you have imbedded
view code

Private Sub ComboBox1_Change()
ComboBox1.additem "Your First Item"
ComboBox1.Additem "Your Second Item"
End Sub





"hoysala" wrote:

dear all

i have number of commnad buttton in embedded in a sheet

i want to shift to a combobox

please guide me



All times are GMT +1. The time now is 05:42 PM.

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