What is the Sendkey for Alt?

G

Guest

I am needing to set up sendkeys in a macro to minimize the Access
application. I need the sendkeys for Alt, Shift and Ctrl. Shift is + and
CTRL is ^. What is ALT?
 
S

Steve Schapel

%

This comes with the standard warning "Most experienced Access developers
avoid SendKeys wherever possible". Having said that, I don't know
off-hand of a way to minimize the application window - but there will
certainly be a way, using an API call in VBA.
 
G

Guest

I do not know the sendkey but you could try this
Add a command button and put this for the code

docmd.runcommand acCmdAppMinimize
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top