syntax for Alt - Left Arrow in an AutoKeys macro

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
 
T

Tom Lake

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
 
P

Paul

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
 

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

Top