excel - Set focus on ComboBox (ActiveX Control) after code execution -


i have excel file combobox (name = "combobox1"). after running script (basically pasting selected value in "the next row" of column) want focus reset on combobox @ end of script, doing allowing me type next entry in combobox without having click on combobox text field first.

this job in excel 2013 have working in 2007 well:

combobox1.activate 

anyone idea?

or: can replace combobox in-cell dropdown list (data validation) , same data validation 1 have in combobox @ moment, have issue: combobox can choose have dropdown list active, in-cell data validation not case, @ least not if want able type in cell after list shown alt+up or

application.sendkeys "%{up}" 

any idea here?


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -