CSV files into separate Excel spreadsheets all within 1 workbook

Hello,
I have a large set of CSV files (N=400; all in a single folder) that need to be added as separate sheets into a single Excel Workbook. So far I have written code to open my destination workbook. I am having trouble, however, looping through my directory to open each CSV file. I then need to write each CSV file as a separate sheet in my destination workbook.
Any help would be greatly appreciated, thank you!

 Respuesta aceptada

Más respuestas (0)

Etiquetas

Preguntada:

EL
el 15 de Dic. de 2016

Respondida:

el 15 de Dic. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by