Originally Posted by
kgkev
I cannot specify a directory - Half of the sales team are out of the office and use a remote update facility in our CRM. They take an offline view of all the data and when they have access to the internet they update the database - this stores all documents in the same place.
The script definatly over rights the previous set of data.
ie
It read Sample 1 and inserts the data - Then it reads sample 2 and inserts the date over the top of sample 1. Sample 3 then overright the previous set of data so all I am left with is a copy of Sample 3 but with 2 headers.
The code should be writing to the next empty row in the destination sheet with this line
having mixed workbooks will be a problem unless you have some method in the names to exclude the ones that you don't want.
Bookmarks