Welcome to 16892 Developer Community-Open, Learning,Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I would want to add a combobox from ActiveX Control using VBA. Whenever I execute the code below, I am able to generate the combo box however, I keep getting a message that says "Can't enter break mode at this time". Why does this happen and how can I avoid this message from appearing?

Below is the code that i used.

Sheets("Data Transfer").OLEObjects.Add(classtype:="Forms.CommandButton.1", Link:=False _
    , DisplayAsIcon:=False, Left:=265, Top:=465, Width:=108.125, Height:= _
    30).Select

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
326 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to 16892 Developer Community-Open, Learning and Share

548k questions

547k answers

4 comments

56.5k users

...