Remove double quotation from write statement in vba

前端 未结 1 878
逝去的感伤
逝去的感伤 2020-12-03 20:56

This code will write log file to LogFilePath, and generate output as below. StarRange and EndRange is a variable which value will populate from other function.



        
相关标签:
1条回答
  • 2020-12-03 21:17

    Write is a special statement designed to generate machine-readable files that are later consumed with Input.

    Use Print to avoid any fiddling with data.

    Print #2, "Start postion = "; StarRange
    Print #2, "End position = "; EndRange
    
    0 讨论(0)
提交回复
热议问题