G
Guest
Hi All........
I am trying to use this code but on some files I get a VB error on the "Last
Save Time" line........how may I cause a return of "Not available" instead of
the VB error?
Sub GetProps()
MsgBox ActiveWorkbook.BuiltinDocumentProperties.Item("Author")
MsgBox ActiveWorkbook.BuiltinDocumentProperties.Item("Last Save Time")
End Sub
I am trying to use this code but on some files I get a VB error on the "Last
Save Time" line........how may I cause a return of "Not available" instead of
the VB error?
Sub GetProps()
MsgBox ActiveWorkbook.BuiltinDocumentProperties.Item("Author")
MsgBox ActiveWorkbook.BuiltinDocumentProperties.Item("Last Save Time")
End Sub