Tab in the send keys

  • Thread starter Thread starter ChuckW
  • Start date Start date
C

ChuckW

Hi,

I have a macro and one of the steps in the macro that I
am trying to do is the use the tab key. I selected
SendKeys but am unsure of what to put in the keystrokes
line. Can anyone help?

Thanks,

Chuck
 
Chuck,
SendKeys "{Tab}"
should do it. See Help under SendKeys... it lists all the SendKey
arguments.

However, it's best to avoid the Sendkeys function. It can cause bugs,
and also interferes with the NumLock setting.

Try using a DoCmd.GoToControl "YourNextControl" to send the cursor where
you want.

hth
Al Camp
 
Back
Top