我正在做一些数据测试,所以我想把我的文件导出到我的本地(到excel格式),但是我的文件中有一列AGE,如果age值= 0,那么在映射完成后,它在excel中返回为空白单元格(我希望它返回0)。它相应地返回除0值以外其他值(例如:1、2、3、4)。我确信我应该使用ISNULL()来完成这个任务,但是我不能让它保存0而不是空白单...
Formula = "=trim(A1)" End Sub LTrim FunctionThe LTrim function removes spaces only from the left side of the word:Sub TrimExample_7() MsgBox LTrim(" I love excel ") 'Result is: "I love excel " MsgBox LTrim(" I love excel") 'Result is: "I love excel" MsgBox LTrim("I love ...