bluppfisk Posted November 26, 2007 Report Share Posted November 26, 2007 I want my macro to click on the dropdown arrow next to a button in my program (so a dropdown menu opens), then select an item from the list and click on it. How would I go on about doing this? edit: the thing is, I get it to click on the arrow by doing Click on control and giving coordinates (86,5). So then the dropdown thing opens but if I issue a new click command with new coordinates (86, 50: should be on the item I wish to click on), nothing happens. I only see the menu open very shortly and immediately disappear again. Clues? edit2: I think the menu that opens is actually a different control that is hidden until someone clicks on the dropdown arrow. But how can I capture this new control? Quote Link to comment Share on other sites More sharing options...
blopib Posted November 26, 2007 Report Share Posted November 26, 2007 As you're not telling which application it is, where you want to do this, i might be all wrong. When i work in e.g Excel i open with ALT+Arrow down. You're able to accomplish this with Text Type command. Quote Link to comment Share on other sites More sharing options...
bluppfisk Posted November 26, 2007 Author Report Share Posted November 26, 2007 As you're not telling which application it is, where you want to do this, i might be all wrong. When i work in e.g Excel i open with ALT+Arrow down. You're able to accomplish this with Text Type command. I've circumvented this problem by using absolute mouse move. The program's CSI, probably unknown to most of you Quote Link to comment Share on other sites More sharing options...
Cory Posted November 26, 2007 Report Share Posted November 26, 2007 Usually one can use a simple Text Type. For instance when filling out a form with states for shipping Montana is a pain fiven the nuimber of M states. Usually you can just type "Montana" or enough of it to be unique to get what you want. Also you can simply down arrow X number of times. Quote Link to comment Share on other sites More sharing options...
garlicnonions Posted June 30, 2014 Report Share Posted June 30, 2014 I am having problems using alt + arrow down to drop down the list in excel 2003. It works if i just do it manually but not using macro express. Can someone shed some light on this? Quote Link to comment Share on other sites More sharing options...
Samrae Posted July 1, 2014 Report Share Posted July 1, 2014 (edited) Sometimes when <ALT>+<ARROW DOWN> doesn't work using <ALTD>+<ARROW DOWN>+<ALTU> will. Edited July 2, 2014 by Samrae Quote Link to comment Share on other sites More sharing options...
acantor Posted July 2, 2014 Report Share Posted July 2, 2014 You could also try <ALT><ARROW UP> instead of <ALT><ARROW DOWN>. In some situations, <F4> opens a drop down list. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.