Answers for "vbs write file"

VBA
0

vbs write file

Set objFSO=CreateObject("Scripting.FileSystemObject")

' Write to a file
outFile = "c:\path\to\file.txt"
Set objFile = objFSO.CreateTextFile(outFile,True)
objFile.Write "test" & vbCrLf
objFile.Close
Posted by: Guest on August-19-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language