Consulting

Results 1 to 2 of 2

Thread: Assign Macro Shortcut

  1. #1

    Assign Macro Shortcut

    Hi Folks,
    Is it possible to assign a keyboard shortcut to a macro that is not CTRL + <LETTER>?

    I appreciate it might be bad form, but I would like to assign macros to the following : CTRL + <CURSOR KEYS>, INS and CTRL + INS, overridding the default behaviours (... an acceptable sacrifice)

    Any ideas?
    Thanks,
    BBM

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    [vba]

    Application.OnKey "^{INSERT}", "MyProc"
    [/vba]
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •