我以编程方式将 Excel 工作表另存为 CSV。
在此我想清除工作表中的货币格式并仅保存值。
.ClearFormats //Works fine but it also demolishes the Date field.
有没有办法只清除货币/会计格式(Office 2010)
With wbkExcel
For i = 1 To .Worksheets.Count
.Worksheets(i).Cells.ClearFormats
.Worksheets(i).SaveAs Filename:=extractPath & Fname & " " & .Worksheets(i).Name & ".csv", FileFormat:=xlCSV, CreateBackup:=False
Next
End With