Results 1 to 2 of 2
  1. #1
    3 Star Lounger siflaar's Avatar
    Join Date
    Jan 2001
    Location
    Amersfoort, Netherlands
    Posts
    203
    Thanks
    4
    Thanked 0 Times in 0 Posts

    record macros with keystrokes (97)

    Hello all,

    I have recorded 5 macro's. I start those macro's with a keycombination. Those macro's wil open and work with different Excelfiles.
    The macro's are recorded in the Personal.xls
    >> Is it possible to record a new macro, where I start all the other macro's by pressing the correct keycombination?

    I have test this, but after starting the 'master'macro it will only run the first submacro and then stop
    Greetings,

    Patrick Schouten
    (The Netherlands)

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: record macros with keystrokes (97)

    Hallo Patrick,

    Niet zo moelijk.

    Continuing in English, so others my benefit.

    - record a macro, give it the keycombination you wish.

    Now lets say your newest macro is named myNewMacro

    Go to the VBE (Alt-F11)
    Open the module with myNewMacro
    (or select Tools, macro, macros, highlight myNewMacro and click Edit)

    Lets say you want it to execute:
    macro1
    macro2
    macro3

    You simply make sure myNewMacro looks like this:

    Sub myNewMacro()
    macro1
    macro2
    macro3
    End Sub
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

Posting Permissions

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