Read typed shortcut from default dialog box?

A

and

Hi, I am trying to read the values the user sets in a default dialog box
(wdDialogToolsCustomizeKeyboard), but I see no methods that seem
appropriate to get this done.

I'm particularly interested in the shortcut the user enters in this
dialog box. Does anyone know how to do this?

Now, I can set the shortcut by this basic piece of code:

==================================================
Private Sub btnChangeShortCut_click()

Dim dlgModify As Dialog
Set dlgModify = Dialogs(wdDialogToolsCustomizeKeyboard)
With dlgModify
.Show
End With

End Sub
==================================================


Another solution would be to read which shortcut is used for a
particular macro command, but I have no idea how to do that. If anyone
knows it, please don't hesitate to respond.

Any help is much appreciated,

Best regards,
And-y
 

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