All the files in the specified folder have the same name except one
number
This part opend the files:
' start number of file name
Mnumb = 101
' When the file doesn't exist
On Error GoTo Errorhandler
For i = 1 To 850
SFilename = "X:\Users\Shared\GENERAL\Christian S\05.10.28 - " & _
"Budget packs - Capital expenditure - comments\Test\BFR" & Mnumb & "
bud v2.1.xls"
Application.Workbooks.Open Filename:=SFilename, UpdateLinks:=0
--
Ctech
------------------------------------------------------------------------
Ctech's Profile:
http://www.excelforum.com/member.php...o&userid=27745
View this thread:
http://www.excelforum.com/showthread...hreadid=483865