+ Reply to Thread
Results 1 to 5 of 5

Linking Workbooks

  1. #1
    Registered User
    Join Date
    11-14-2011
    Location
    England,North East
    MS-Off Ver
    Excel 2003
    Posts
    67

    Linking Workbooks

    Hi,

    I've been wrestling with this issue for a while, does anyone have any good ideas for me. I have 2 workbooks, one of which is a working document and the other of which is just a master data file that feeds lookups, drop down boxes etc in the working doc. I need to link these workbooks in order that when someone opens the working doc the master data will automatically be available. I have tried macros but every time it runs the drop down boxes in the working doc become static and I have tried leaving the master data file open in the system but can't get this to work properly as it always opens in session to me on my desktop and therefore is not available to others even when I make it a shared doc. Does anyone have any flashes of inspiration for me? I'm at a loss.


  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,102

    Re: Linking Workbooks

    Open the Master Workbook as Read Only.


    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-14-2011
    Location
    England,North East
    MS-Off Ver
    Excel 2003
    Posts
    67

    Re: Linking Workbooks

    Hi TMShucks,

    I have done this already and I'm not concerned about them changing data etc I just don't want them to have to open both workbooks manually in order to get them to work. I want the end user just to have to open the working doc and the info from the master data doc to be automatically available.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,102

    Re: Linking Workbooks

    I meant, open it read only in the code.

    Regards

  5. #5
    Registered User
    Join Date
    12-07-2011
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Linking Workbooks

    Have you thought of a workbook event to open the master workbook.

    Go Into your VBA screen (Alt + F11) then in the Project Window double click where it says ThisWorkBook then from the First Drop Down (Object) select Workbook and it will display

    Private Sub Workbook_Open()

    Add the code to open the master

    workbooks.Open "Path and name of Master.xls"

    That will always open the master

+ 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