• record macros with keystrokes (97)

    Author
    Topic
    #367927

    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

    Viewing 0 reply threads
    Author
    Replies
    • #575124

      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

    Viewing 0 reply threads
    Reply To: record macros with keystrokes (97)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: