Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Marijan
Run this macro on a empty sheet Sub test() rw = 1 For Each p In ActiveWorkbook.BuiltinDocumentProperties On Error Resume Next Cells(rw, 1).Value = p.Name Cells(rw, 2).Value = p.Value rw = rw + 1 On Error GoTo 0 Next End Sub Or this With ActiveWorkbook.BuiltinDocumentProperties Cells(1, 1).Value = .Item("Last save time") Cells(2, 1).Value = .Item("Subject") Cells(3, 1).Value = .Item("Manager") Cells(4, 1).Value = .Item("Author") Cells(5, 1).Value = .Item("Keywords") Cells(6, 1).Value = .Item("Comments") Cells(7, 1).Value = .Item("Company") End With -- Regards Ron de Bruin http://www.rondebruin.nl "Marijan Glavac" wrote in message ... Hi, how to get files properties through code ( when is file created,modified...) ? Thanks in advance.. Marijan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
using properties | Excel Discussion (Misc queries) | |||
Comment Box in Properties of Excel files | Excel Discussion (Misc queries) | |||
check properties of 400 Excel files | Excel Discussion (Misc queries) | |||
Files properties | Excel Programming | |||
Accessing document properties of non-Microsoft product files | Excel Programming |