Give this a try...If it's close to what you need then I can polish it later if necessary.
For testing purposes the code is set to collect:
all files aka *.*
in C:not to include sub directories
with date last accessed before 12/31/03
I've bolded where you can make alterations
===========================================================
Sub TestListFilesInFolder()
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'~ Error handling (an example)
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Error GoTo MyProcedure_Error
GoTo MyProcedure_Exit
MyProcedure_Error:
If Err.Number = 70 Then
'MsgBox ("Special handling for error #70 "& Err.Description)
Resume Next
Else
'MsgBox ("Special handling all other errors " & Err.Description)
Resume Next
End If
MyProcedure_Exit:
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'~ Add Column Headers
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
With Range("A1"

.Formula = "Folder contents:"
.Font.Bold = True
.Font.Size = 12
End With
Range("A3"

.Formula = "File Name:"
Range("B3"

.Formula = "File Size:"
Range("C3"

.Formula = "File Type:"
Range("D3"

.Formula = "Date Created:"
Range("E3"

.Formula = "Date Last Accessed:"
Range("F3"

.Formula = "Date Last Modified:"
Range("G3"

.Formula = "Attributes:"
'had problems with this when empty
'Range("H3"

.Formula = "Short File Name:"
Range("A3:H3"

.Font.Bold = True
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'~ Setup calling parameters
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'Folder Name, File Type, Include Subfolders (T/F), Show MsgBox (T/F)
'Example ListFilesInFolder "l:\users\smills", ".pst", True, False
'Example ListFilesInFolder "c:\", "*.", True, False
ListFilesInFolder "c:\", "*.*", False, False
ActiveWorkbook.Save
MsgBox ("Done"

End Sub
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'~ Main Subroutine
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub ListFilesInFolder(SourceFolderName As String, FileExtensions As String, IncludeSubfolders As Boolean, ShowMsgBox As Boolean)
Dim FSO
Dim SourceFolder, SubFolder
Dim FileItem
Dim Cutoff_Date As Date
Dim r As Long
Set FSO = CreateObject("Scripting.FileSystemObject"

Set SourceFolder = FSO.GetFolder(SourceFolderName)
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'~ determining the next avail row (one space between folders)
'~ you can run this macro many times with different criteria
'~ and it will add to the existing spreadsheet or you can
'~ delete all the rows and start new (remember the 65,536 row limit!)
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r = ActiveSheet.UsedRange.Rows.Count + 2
i = i + 1
Cutoff_Date = #12/31/2003#
For Each FileItem In SourceFolder.Files
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'~ Choose specific file types OR choose all files
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If (StrComp(Right(UCase(FileItem), 4), UCase(FileExtensions), vbTextCompare) = 0) Or (StrComp(FileExtensions, "*.*", vbTextCompare) = 0) Then
If FileItem.DateLastAccessed < Cutoff_Date Then
Cells(r, 1).Formula = FileItem.Path '& FileItem.Name
Cells(r, 2).Formula = FileItem.Size
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'~ Make "Bold" any filesizes larger than 1.5 gig or whatever
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If FileItem.Size > 1500000000 Then
Cells(r, 2).Font.Bold = True
End If
Cells(r, 3).Formula = FileItem.Type
Cells(r, 4).Formula = FileItem.DateCreated
Cells(r, 5).Formula = FileItem.DateLastAccessed
Cells(r, 6).Formula = FileItem.DateLastModified
Cells(r, 7).Formula = FileItem.Attributes
'Cells(r, 8).Formula = FileItem.ShortPath '& FileItem.ShortName
r = r + 1 ' next row number
End If
End If
Next FileItem
If IncludeSubfolders Then
For Each SubFolder In SourceFolder.SubFolders
ListFilesInFolder SubFolder.Path, FileExtensions, True, False
Next SubFolder
End If
Columns("C:H"

.AutoFit
Set FileItem = Nothing
Set SourceFolder = Nothing
Set FSO = Nothing
ActiveWorkbook.Saved = True
End Sub