Share 'How to close a text file which is already open file'
1.I have created a text file "srinivas".
2.I save that text file in "E" drive ( "E:\srinivas")
3.I open the taxt file .
and I wrote this code
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.getFile("e:\srinivas.txt")
But I am unable to close the file ....and getting error.
can any one correct my code and give the suggetions
You can share this discussion in two ways…
Share this link:
Send it with your computer's email program: Email this