+ Reply to Thread
Results 1 to 3 of 3

Automatically opening a workbook.

  1. #1
    Registered User
    Join Date
    03-10-2008
    Location
    Colchester, UK
    MS-Off Ver
    Excel 2007
    Posts
    13

    Automatically opening a workbook.

    Hi
    I am learning VBA programming and would like to know how to get a workbook to automatically open a second workbook when the first workbook is opened.

    I'd be grateful for any help

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264

    Re: Automatically opening a workbook.

    Hi

    Open up the VBE and locate the ThisWorkbook module of your first workbook. Place the following code into this module (amend the filename & path to the second workbook as appropriate). Then save the file down and rtry opening it.

    Please Login or Register  to view this content.
    Richard
    Richard Schollar
    Microsoft MVP - Excel

  3. #3
    Registered User
    Join Date
    03-10-2008
    Location
    Colchester, UK
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Automatically opening a workbook.

    Great, Thanks very much.

+ 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