syntax for Alt - Left Arrow in an AutoKeys macro

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

I'm trying to create an AutoKey macro that will run when the user presses
the Left Arrow while holding down the Alt key, but I keep getting a syntax
error when I try to save the macro. According to Access Help and several
Web sites I've checked, the syntax for the Alt key is the percent character
%, and for the Left Arrow it's {Left} or {LEFT}.

I've tried the following combinations,

%{Left}
%+{Left}
%{LEFT}
{%}{LEFT}
%+{LEFT}

as well as several others, and all of them result in the syntax error.

Can anyon tell me what the correct syntax for the Alt + Left Arrow
keystroke combination should be?

Thanks in advance,

Paul
 
Paul said:
I'm trying to create an AutoKey macro that will run when the user presses
the Left Arrow while holding down the Alt key, but I keep getting a syntax
error when I try to save the macro. According to Access Help and several
Web sites I've checked, the syntax for the Alt key is the percent character
%, and for the Left Arrow it's {Left} or {LEFT}.

I've tried the following combinations,

%{Left}
%+{Left}
%{LEFT}
{%}{LEFT}
%+{LEFT}

as well as several others, and all of them result in the syntax error.

Can anyon tell me what the correct syntax for the Alt + Left Arrow
keystroke combination should be?

Alt isn't allowed in Access 2007 macros. You'll have to use Shift or Control
See the table of allowable keys here:

http://support.microsoft.com/kb/106183

Tom Lake
 
We're using Access 2003, and I checked the Web page you suggested, and it
mentions every version of Access except 2002 and 2003, but since neither the
earlier versions nor 2007 can call up the Alt key from an AutoKeys macro, I
guess you can't do it in 2003 either.

Thanks for the information.

Paul
 
Back
Top