+ Reply to Thread
Results 1 to 1 of 1

How can I use VBA to check the last time another workbook was saved?

  1. #1
    Registered User
    Join Date
    08-15-2012
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2010
    Posts
    10

    How can I use VBA to check the last time another workbook was saved?

    Hello All,

    I would like to know if it is possible to use VBA to get the timestamp that a different workbook that I do not have open was saved. I will explain what I am trying to do to clarify.

    I am trying to create a spreadsheet that will pull data from two other spreadsheets. This spreadsheet will always be open on one computer. I want this spreadsheet to monitor the time that the other two workbooks were saved and then open those workbooks, pull in data, and then save itself. I can code that I just do not know how to get VBA to look at the time a different workbook was saved.

    Thanks for the help!

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: How can I use VBA to check the last time another workbook was saved?

    try this code
    Please Login or Register  to view this content.
    Last edited by patel45; 11-01-2013 at 01:45 AM.
    If solved remember to mark Thread as solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Check to see if a workbook is saved in a location with VBA
    By bibleguy125 in forum Excel General
    Replies: 1
    Last Post: 02-15-2012, 03:30 PM
  2. Check if file may be saved with this button
    By Analbers in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-04-2008, 12:45 PM
  3. How do you run macro automatically each time workbook is saved?
    By Husker87 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-25-2005, 11:00 AM
  4. Check to see if excel file has been saved
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2005, 11:05 AM
  5. How can I see a copy of a saved workbook before I saved it again?
    By Norma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-11-2005, 06:06 AM

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