When importing a csv file into Excel text is converted to number

前端 未结 1 1438
没有蜡笔的小新
没有蜡笔的小新 2021-01-26 16:13

I am importing a CSV file into an Excel 2010 spreadsheet using something like this:

 Set wb = Workbooks.Open(Filename:=myFile, ReadOnly:=True, Notify:=False)
 Se         


        
相关标签:
1条回答
  • 2021-01-26 16:44

    Use:

    Set wb = Workbooks.OpenText
    

    with appropriate parameters to define the revision number field as String. See:

    Documentation

    0 讨论(0)
提交回复
热议问题