First, add the Scripting Runtime library, scrun.dll, to
the References for your application. Than, add the
following to a VBA module.
Dim fsoRoot As Scripting.FileSystemObject
Dim fsoFile As Scripting.File
Dim dtmCustImportCreated as Date
Dim lngImportFileSize as Long
Set fsoRoot = New Scripting.FileSystemObject
lngImportFileSize = fsoFile.Size
dtmCustImportCreated = fsoFile.DateLastModified
The above code is excerpted from a working application
that I put together last week and have been refining up to
today.
David A. Gray
P6 Consulting
http://www.p6c.com
You are more important than any technology we may employ.