Excel - Code for a row line in source
问题 All I am trying to change the "delimiters" in my csv file, so I can open it as an excel file. I know the delimiter to separeate the columns is ';'. But what is the delimiter for a new line? Thanks 回答1: For windows machines: vbCrLf or Chr(13) & Chr(10) Carriage Return then Line Feed If you are going to be using this code on multiple platforms, then vbNewLine will be whatever is needed for the platform (windows/unix/mac/whatever) 来源: https://stackoverflow.com/questions/10750162/excel-code-for-a