Sub GetFileList()
Dim ThePath As String
Dim fname As String
Dim i As Long
ThePath = "c:\A" 'ThisWorkbook.Path
fname = Dir(ThePath & "\*.doc")
i = 1
Do While fname <> ""
On Error Resume Next
'Workbooks.Open Filename:=fname
'MsgBox fname
Cells(i, 1) = fname
On Error GoTo 0
fname = Dir()
i = i + 1
Loop
End Sub

Signature
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
> Cheers Don,
>
[quoted text clipped - 35 lines]
>> > Best regards,
>> > Duncan Falconer
Dfalconx - 25 Sep 2007 15:56 GMT
Hi Don,
the script works a charm. I've never used one before.
Regards
> Sub GetFileList()
> Dim ThePath As String
[quoted text clipped - 53 lines]
> >> > Best regards,
> >> > Duncan Falconer