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

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -