CSV files into separate Excel spreadsheets all within 1 workbook
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
采纳的回答
Walter Roberson
2016-12-15
When you xlswrite() provide either a worksheet name or worksheet number as the third parameter.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!