+ Reply to Thread
Results 1 to 6 of 6

Automatic open others Workbook when we opened the Master Workbook

  1. #1
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    Automatic open others Workbook when we opened the Master Workbook

    Hello ?? anyone can help me, please.
    How to Automatic open others Workbook when we opened the Master Workbook.
    Examp. :
    I have a workbook (Master.xls), and when this file be opened, and then others workbook (Transactions.xls, Order.xls, etc.) is opened too.

    Thank's before..
    Last edited by antoni; 08-28-2009 at 10:05 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Automatic open others Workbook when we opened the Master Workbook

    Please Login or Register  to view this content.
    Place this in the ThisWorkbook module of Master.xls
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

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

    Re: Automatic open others Workbook when we opened the Master Workbook

    Hi
    try the following codes. change filenames and no of files in the code to suit your case.
    Please Login or Register  to view this content.
    Ravi

  4. #4
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    Re: Automatic open others Workbook when we opened the Master Workbook

    Hello, thank's for all...
    But how to check a file was opened or not, and if not opened then appear message box. Because sometimes the user close some file.
    Examp. : When open file Master.xls, other file like Transaction.xls, Order.xls, etc are opened too. But sometime user close some file like Order.xls.
    And when we doing transaction in Master.xls, then must check these file or all file is opened or not.

    Thank's

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Automatic open others Workbook when we opened the Master Workbook

    You can do a TRUE/FALSE check to see if the file is currently open, like this:
    Please Login or Register  to view this content.
    Now that you've seen that method, your could do it in only two lines of code, a little harder to read, but it's the same thing in half the steps:
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    Re: Automatic open others Workbook when we opened the Master Workbook

    Hello Mr. JBeaucaire thank's for your helps. Nice code bos!!!

+ 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