> Hi Peter T,
>
> So your code will look through a folder into sub folders, filter out all of
> the excel books with the names Quote Book and Quotes & Orders, and copy the
> required cell ranges into a separate book in list form?
Should do. You mention list, the demo populates an array and dumps onto a
sheet.
>i can write the code
> to list the data in my format but its the reteival of the information i am
> struggling with.
Not sure what you are struggling with, try adapting changes as follow
referrring to Sub Test() in the demo
>> ReDim va(1 To col.Count, 1 To 2)
ReDim va(0 To col.Count, 1 To 9)
va(0,1) = "File Name"
va(0,2) = "Client Name"
va(0,3) = etc
>> va(i, 2) = wb.Worksheets(1).Range("A1").Value
va(i, 2) = wb.Worksheets(1).Range("C1").Value
va(i, 3) = wb.Worksheets(1).Range("C2").Value
va(i,4) = etc
' maybe change Worksheets(1) to Worksheets("SheetName")
' code
>> .Worksheets(1).Range("A1:B1").Resize(UBound(va)).Value = va
.Worksheets(1).Range("A1").Resize(UBound(va) + 1, UBound(va, 2)).Value = va
Regards,
Peter T
> > Hi,
> >
[quoted text clipped - 35 lines]
> >
> > Nigel
so you have no problem opening each workbook one by one, then try this
rows(1).insert
open workbook1
range("C1").copy ThisWorkBook.range("A1")
range("C2").copy ThisWorkBook.range("B1")
..
..
..
workbook1.close
rows(1).insert
loop to open next workbook
> Hi Peter T,
>
[quoted text clipped - 47 lines]
> >
> > Nigel