Excel-VBA: Getting the values from Form Controls

后端 未结 6 1777
挽巷
挽巷 2020-12-19 00:22

Embedded in the worksheet sheet1 I have a Form Control combo box named combobox_test and it has selected value x

in addition t

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-19 00:58

    putItRng.Rows(1)= ActiveSheet.combobox_test.value
    

    Try:

    activesheet.cells(1,putItRng.column).value=activesheet.combobox_test.value
    

    If it doesnt work then your combobox is not named "Combobox_test"

提交回复
热议问题