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!