+ Reply to Thread
Results 1 to 2 of 2

OPen one Spreadsheet from another

  1. #1
    Nigel
    Guest

    OPen one Spreadsheet from another

    I have a series of spreadsheets that I am currently running manually each
    morning. For reasons I won't get into here I can't use scheduler so what I am
    looking to do is the following

    Open the first spreadsheet have it do its thing, then open the next one in
    the sequence and close off the first.

    What is the best way of doing this

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Response

    You could use this sort of construct

    Sub Auto_open()
    Workbooks.Open ("Book1.xls")
    ThisWorkbook.Saved = True
    ThisWorkbook.Close
    End Sub
    Martin

+ 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