What is the Sendkey for Alt?

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
%

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.
 
I do not know the sendkey but you could try this
Add a command button and put this for the code

docmd.runcommand acCmdAppMinimize
 
Back
Top