+ Reply to Thread
Results 1 to 2 of 2

saving the last user who edited the file

  1. #1
    Registered User
    Join Date
    12-01-2003
    Posts
    21

    saving the last user who edited the file

    Hi,
    I want to see on my excel sheet who is the last user who edited the file
    or last saved date. similar to the "LASTSAVEDBY" or "SAVEDATE" in msword

  2. #2
    Bob Phillips
    Guest

    Re: saving the last user who edited the file

    Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
    Boolean)
    ThisWorkbook.Worksheets("Sheet1").Range("A1") = Environ("Username")
    End Sub

    'This is workbook event code.
    'To input this code, right click on the Excel icon on the worksheet
    '(or next to the File menu if you maximise your workbooks),
    'select View Code from the menu, and paste the code


    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "kman" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hi,
    > I want to see on my excel sheet who is the last user who edited the
    > file
    > or last saved date. similar to the "LASTSAVEDBY" or "SAVEDATE" in
    > msword
    >
    >
    > --
    > kman
    > ------------------------------------------------------------------------
    > kman's Profile:

    http://www.excelforum.com/member.php...fo&userid=3337
    > View this thread: http://www.excelforum.com/showthread...hreadid=515637
    >




+ 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