I would simplify the task by taking out the create excel file portion. Excel is quite capable of reading a csv file. So, I would keep your task to reading and creating csv files.

Brad