Excel VBA ComboBox DropDown Button Size--changed itself

前端 未结 7 1598
忘了有多久
忘了有多久 2020-12-22 07:25

I have a workbook with several comboboxes (and listboxes) and a lot of vba written around them. I\'ve used the same code in the Workbook_Open procedure to format them for we

7条回答
  •  一向
    一向 (楼主)
    2020-12-22 07:39

    I just move the shape to fix

    Private Sub MyComboBox_DropButtonClick()
         ActiveSheet.Shapes("ComboBox1").Top = 1
         ActiveSheet.Shapes("ComboBox1").Top = 2
    End Sub
    

提交回复
热议问题