+ Reply to Thread
Results 1 to 3 of 3

Linked workbooks with macros

  1. #1
    Registered User
    Join Date
    07-25-2009
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    1

    Linked workbooks with macros

    I have an application that consists of multiple financial workbooks each containing macros. I need to be able to open a main workbook and link to these other workbooks and pull data from specific cells that are derived via macros. Unfortunately I can't get the macros to execute in the linked workbooks unless I open all of the workbooks using Excel. I would prefer to fire the macros when I open the main workbook only. Is this possible and if so can anyone point me to an article or website that may have a similar example posted. Thanks. Joe

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Linked workbooks with macros

    It's not completely clear what you have setup so that's probably why there has been no replies.

    So you want the macros to execute from a Main workbook but you have placed the code in individual workbooks, is that correct?

    If so the question would be why.

    Does the linking mean you have to open all workbooks before the code will function?
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    Re: Linked workbooks with macros

    Hi
    which specific cells are of your interest? and what are the macro names in each workbook? Any particular reason why you want to run macro from closed file? I can help you with pulling values from closed workbook.
    Ravi

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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