automatically import data from CSV to excel/calc s

2019-05-30 23:29发布

I have here 12 CSV source file (just numbers separated with semicolon).

I need on one action/click take this data and import it to excel/calc to 12 sheets (1 sheet for 1 csv source).

Any Idea how can I do that?

2条回答
老娘就宠你
2楼-- · 2019-05-30 23:55

you can do it with Excel vba:

Please let us know if you encounter some trouble building your procedure

查看更多
smile是对你的礼貌
3楼-- · 2019-05-31 00:02

By using the code in this post combined with a loop in which you step through the filenames (which you could keep in an array of string) and vary the .Destination with the sheets in the workbook(you can step through them by making as many new sheets as you need in the workbook and then going from Sheets(1) through Sheets(N), where N is the number of sheets.

查看更多
登录 后发表回答