I wish to programatically retrieve the date created and last modified on an external file.
With VBA on a Windows system I can write code like:
===================================================
Sub GetDateCreated()
Dim oFS As Object
Dim strFilename As String
'Put your filename here
strFilename = "c:\excel stuff\commandbar info.xls"
'This creates an instance of the MS Scripting Runtime FileSystemObject class
Set oFS = CreateObject("Scripting.FileSystemObject")
MsgBox strFilename & " was created on " & oFS.GetFile(strFilename).DateCreated
Set oFS = Nothing
End Sub
===================================================
But of course on a Apple or Linux system the create object statement will will not work.
Can anyone tell me what I need to do in order to make this work with LO?