Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Finding name of last user who modified Excel Spreadsheet

IS there code to find the name or userid of the last user who modified a
particular excel spreadsheet?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Finding name of last user who modified Excel Spreadsheet

Hi
use the following UDF:

Function DocProps(prop As String)
application.volatile
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocumentProperties _
(prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function

and enter in a cell
=DOCPROPS("last author")
or
=DOCPROPS("last save time")


-----Original Message-----
IS there code to find the name or userid of the last user

who modified a
particular excel spreadsheet?


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Finding name of last user who modified Excel Spreadsheet

You could try using

ActiveWorkbook.BuiltinDocumentProperties("Last _
Author").value

to find this, although this may depend upon the individuals updating the
User name in Excel Options.

HTH
Simon Livings

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change tooltips for user-modified colors? Andy Smith[_2_] Excel Discussion (Misc queries) 1 September 15th 09 12:30 AM
Date modified within Spreadsheet jandersen Excel Discussion (Misc queries) 19 August 20th 09 03:09 AM
Alert user that row has been modified by changing row color jubu Excel Worksheet Functions 2 June 30th 07 12:46 AM
Need to insert file modified date of Excel spreadsheet in a cell dj in Mass. Excel Discussion (Misc queries) 0 March 23rd 06 09:41 PM
HELP - How do I know if a spreadsheet has been modified LP Excel Programming 2 October 14th 03 10:24 PM


All times are GMT +1. The time now is 08:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"