Problem with Word SendKeys command

D

DavidInDC

I'm using Word 2007 trying to set up a very simple macro that would get me
into the Keyboard Customization dialog (there doesn't seem to be a command to
get there). Previously I've used the SendKeys command for this, but it
doesn't seem to work, ie nothing at all happens. The string is
"%FIC{Tab}%TMM{Tab}". But even when I put in a very simple string eg:
SendKeys "A" (that's the entire macro) nothing happens. Does anyone know
what's going on and how to fix it.
 
J

Jay Freedman

I'm using Word 2007 trying to set up a very simple macro that would get me
into the Keyboard Customization dialog (there doesn't seem to be a command to
get there). Previously I've used the SendKeys command for this, but it
doesn't seem to work, ie nothing at all happens. The string is
"%FIC{Tab}%TMM{Tab}". But even when I put in a very simple string eg:
SendKeys "A" (that's the entire macro) nothing happens. Does anyone know
what's going on and how to fix it.

SendKeys has always been flaky, and it isn't getting any better. Fortunately,
you don't need it for this. Try:

Sub CustomizeKeys()
Dialogs(wdDialogToolsCustomizeKeyboard).Show
End Sub
 

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