Hello,
I'm looking for a way to display only the time? Is it possible?
Many thanks!![]()
Private Sub UserForm_Initialize() Dim oFS As Object Dim strFilename As String strFilename = "c:\test.xls" Set oFS = CreateObject("Scripting.FileSystemObject") Form1.Label18.Caption = oFS.GetFile(strFilename).DateLastModified Set oFS = Nothing End Sub
Aquila
Bookmarks