Could anyone tell me how to write the values to a text file.That is i have the values in a datable itself.I got this by using Text Output. And i want to write these values in to a notepad file. It will be helpful if anyone replies.
lineToWrite="This Text Will Be Written to The File"
' Write to file
Set FSO = CreateObject("Scripting.FileSystemObject")
Set ft = FSO.OpenTextFile("C:\Test.txt",2,True)
Set FSO = Nothing