Results 1 to 3 of 3

Thread: excel summary properties

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    280

    excel summary properties

    hi,

    sorry - this is a stupid question but can anybody point me to the propertys within excel for the last modified datetime/last modified by fields. (you know all that junk U can add via a right click - summary)

    I cant them - have checked the forum/ used the object browser etc etc. its probably easy and I am being blind or stupid.

    just need pointing in the right direction

    (want to get to them via vba within excel)

    many thanks, AJP

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    280
    oh hum....

    got to http://msdn.microsoft.com/library/de.../D4/S5A92C.asp

    splendid

    until i found that all the properties work - except that the last modifed seemed to show old dates...

    dunno

    in the end used the fso for that one...

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    VB Code:
    1. MsgBox FileDateTime(ActiveWorkbook.Path & "\" & _
    2. ActiveWorkbook.Name)
    Should give you the date the file was created if the workbook has not been saved or only saved once, or the date last modified if it's been saved afterwards...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width