KeyBindings like Word.

  • Thread starter Thread starter Moshe
  • Start date Start date
M

Moshe

Hello,

I would like to use KeyBindings in Excel like we have
in Word. My purpose is creating a shortcut (e.g Ctrl+J)
for a command in Excel (e.g FormatCondition).
In other word, each time I will press Ctrl+J i will run
the FormatCondition dialog will appear.

Is there any way to do it ?

With thanks,
Moshe
 
I believe you need to create a macro that shows that dialog, and attach your
shortcut key to the macro. The macro needs just a single line

Sub ShowCFDialog()
Application.Dialogs(xlDialogConditionalFormatting).Show
End Sub

Then in Tools/Macro/Macros, select this macro, click the Options button to
assign the shortcut key.
 

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

Back
Top