in reply to Excel - Detecting Date/Time and User Stamps for last update.

I don't know how to get the user info, but the time of last modification should be the time of last file write, unless the spreadsheet is currently open. So, instead of asking Excel, just ask the file system by using stat:

$ touch foo.txt $ perl -wle 'print scalar localtime( ( stat "foo.txt" )[9] )' Fri Jun 8 19:38:29 2007

Replies are listed 'Best First'.
Re^2: Excel - Detecting Date/Time and User Stamps for last update.
by ww (Archbishop) on Jun 09, 2007 at 00:53 UTC
    Or, since we're talking MS here, use double quotes outside and singlequote inside since no interpolation is required. Otherwise cmd will complain about a missing terminator.
    >perl -wle "print scalar localtime( ( stat 'blossomshots_LJW.txt' )[9] + );"

    Output:
    Fri Jun 8 20:42:08 2007