+ Reply to Thread
Results 1 to 6 of 6

File saved history log

  1. #1
    Registered User
    Join Date
    09-01-2017
    Location
    Berlin
    MS-Off Ver
    mac 2001
    Posts
    3

    File saved history log

    Hello,

    I came across a post titled 'File saved history log' on the browser but i could not find once i was in the forum.

    For my business I have an 'end of day' file that each store saves the days sales. I'm wanting to find out the history of when the file is saved. Is this possible?



    Best
    Will

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: File saved history log

    Open Visual Basic

    Find your Project

    Double Click on this workbook

    Paste this into the module that opens and close it.

    Please Login or Register  to view this content.

    The code works for hidden sheets so you could name your sheet SaveLog and hide it.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    09-01-2017
    Location
    Berlin
    MS-Off Ver
    mac 2001
    Posts
    3

    Question Re: File saved history log

    Thank you mehmetcik for the quick reply.

    I have copy and pasted, but when i try to save i get this reply:

    Visual macros will be removed if you save the file in this format. Are you sure you want to use this format?

    Is this correct?
    Thanks

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: File saved history log

    Make sure that you use "save as"

    Then save the file as "Macro Enabled"

  5. #5
    Registered User
    Join Date
    09-01-2017
    Location
    Berlin
    MS-Off Ver
    mac 2001
    Posts
    3

    Re: File saved history log

    Thanks

    When i go to send i get the reply:

    Run-time error '9':
    Subscript out of range

    I then press 'debug' and

    With Sheets("Sheet1")

    is highlighted yellow

    Best
    Will

  6. #6
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: File saved history log

    Do you have a sheet called Sheet1?

    The Macro is looking for a Sheet called Sheet1 to store the log

+ 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. File saved history log
    By Cajun20th in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-21-2024, 03:24 PM
  2. backup file history
    By a.janmohammadi in forum Excel General
    Replies: 2
    Last Post: 04-20-2015, 08:29 AM
  3. Non recoverable file from history
    By Blade Fisher in forum Excel General
    Replies: 1
    Last Post: 09-28-2013, 07:10 AM
  4. [SOLVED] VB to open a file, input on a file and close again, with NO macros/vb saved to file
    By unreal_event_horizon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-05-2012, 11:41 AM
  5. How to find file history
    By DC in forum Excel General
    Replies: 0
    Last Post: 02-09-2006, 05:45 PM
  6. Expand File History
    By theillknight in forum Excel General
    Replies: 1
    Last Post: 04-19-2005, 05:22 PM
  7. Replies: 0
    Last Post: 03-29-2005, 11:06 AM

Tags for this Thread

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