Clear Filters
Clear Filters

Merge excel files to one with many sheets csv

3 views (last 30 days)
Hi to all,
i would like to select a directory with a few excel csv files. And these csv files with its strings and numbers i would like to have in one excel csv. Every file gets one sheet. And the sheet name should be the excel file name it was before the merge.
So how can i do this the best? I have the MATLAB R2016b version.
Many thanks
Adrian
  1 Comment
Guillaume
Guillaume on 7 Nov 2018
csv files (which are not excel files but that by default are opened in excel if it's installed) are just plain text files. As a result, they do not have a concept of sheet.
What you want can only be done if the output is a xls or xslx file (or equivalent spreadsheet format of other programs).

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!