Alexia, Did this not answer your question earlier?
12777.html
--Credit to Dank--
Hi Scott - Dank's response was outstanding and helped me tremndously. This question actually goes to the portion which Dank refers to at the end as "'Process the workbook". I wasn't sure if he would see a followup since I posted the orignal message much earlier today and this board seems to be forever receiving new posts, so I posted a new message. Sorry for the confusion.
No problem on the new thread.
I tried out Dank's code on my end, and it seemed to work. I was able to open every Excel file in a specified folder within a certain date range. As for the process part, I'm not sure if I'm telling you something you already know, but are you looking for something like this:
Range("A1").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
This selects the top cell, and goes down to the next available cell in the column.
If I am reading the problem correctly, I think you can combine the parts of Scott's programming into 1 line between the Open and Next statements:
range("'[destination file name]sheet name'!D1").end (xldown).offset(1) = range("B4")
I have not tested it, but these are the elements. No problem on the new thread. I tried out Dank's code on my end, and it seemed to work. I was able to open every Excel file in a specified folder within a certain date range. As for the process part, I'm not sure if I'm telling you something you already know, but are you looking for something like this: Range("A1").Select
: Hi Scott - Dank's response was outstanding and helped me tremndously. This question actually goes to the portion which Dank refers to at the end as "'Process the workbook". I wasn't sure if he would see a followup since I posted the orignal message much earlier today and this board seems to be forever receiving new posts, so I posted a new message. Sorry for the confusion.