+ Reply to Thread
Results 1 to 4 of 4

I should know this but ...

  1. #1
    keithb
    Guest

    I should know this but ...

    How can I invoke a VBA subroutine from a spreadsheet keypress such as
    Alt+RightArrow?

    Thanks,

    Keith



  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Keith,

    A list of available Subs is shown in the Macro list dialog. Press ALT + F8 to bring it up in Exce. Select the Sub you want to assign a hot key to and click "Options" on the bottom right. This will allow you to asssign a CTRL + some key to the macro.

    Sincerely,
    Leith Ross

  3. #3
    Jim Cone
    Guest

    Re: I should know this but ...

    Keith,
    Look at the "OnKey" method in VBA help.
    Jim Cone
    San Francisco, USA


    "keithb" <[email protected]>
    wrote in message
    news:[email protected]
    How can I invoke a VBA subroutine from a spreadsheet keypress such as
    Alt+RightArrow?
    Thanks,
    Keith



  4. #4
    Ken Hudson
    Guest

    RE: I should know this but ...

    Hi Keith,
    Open the workbook with the macro attached.
    Go to Tools > Macro > Macros...
    Select the macro you want to invoke and then go to Options...
    HTH

    --
    Ken Hudson


    "keithb" wrote:

    > How can I invoke a VBA subroutine from a spreadsheet keypress such as
    > Alt+RightArrow?
    >
    > Thanks,
    >
    > Keith
    >
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1