+ Reply to Thread
Results 1 to 4 of 4

Macro shortcuts & VBA

  1. #1
    Registered User
    Join Date
    06-28-2005
    Posts
    81

    Macro shortcuts & VBA

    Hi, thanks in advance for any help.

    I have a personal.xla addin where I store all my simple macros (ie Paste values; increase font size; set font color to blue etc etc). When I start excel 2003 it is automatically loaded and the code is available to every worksheet I edit.

    I'd like to set some shortcuts so that if I press, say, ctrl + shift + s, a macro gets executed but I don't know how to do it.

    If I copy all the VBA code from my addin into the worksheet then i can use the macro menu to set the keyboard shortcut but copying all the macros is exactly what i'd like to avoid keeping them centralized in a single add-in file.

    is there a way to solve this ?

    any support would be very much appreciated

    Thanks

    Paolo

    Italy

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475
    Hi,
    Try opening the workbook with the add-in and goto macros select the macro and then go to options, then enter the key sequence

  3. #3
    Registered User
    Join Date
    06-28-2005
    Posts
    81
    Well I can't open the workbook with te add-in. Actually I can but there is no worksheet displayed cause it's an add-in. Therefore if I go to the macro menu I cannot select whatsoever file from which get the macros ...

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475
    Quote Originally Posted by kayard
    Well I can't open the workbook with te add-in. Actually I can but there is no worksheet displayed cause it's an add-in. Therefore if I go to the macro menu I cannot select whatsoever file from which get the macros ...
    Really?

    How did you do that?

+ 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