+ Reply to Thread
Results 1 to 3 of 3

Vba to run macro in another book

  1. #1
    Registered User
    Join Date
    12-05-2006
    Posts
    81

    Vba to run macro in another book

    Can this be done? I would like to run a macro in workbook1 that calls a macro in workbook2. Any help would be great.
    Thanks

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    Create a new workbook. Write a trivial macro like:
    Please Login or Register  to view this content.
    Create second new workbook. Do "Record Macro", putting it in Workbook2. Use the mouse to run the first macro. Stop recording. The recorded macro and will show you the proper syntax.

    Recording a macro is one of the easy way to find the syntax for some proceedures.

  3. #3
    Registered User
    Join Date
    12-05-2006
    Posts
    81
    Thanks for the help. I got it.

+ 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