07-25-2015, 05:13 AM
Hi,
I created a file on my desktop & not able to open it,
Here is code:-
The file is not opening, am not even getting any error.
What am I doing wrong
I created a file on my desktop & not able to open it,
Here is code:-
Code:
Set fso = CreateObject("Scripting.FileSystemObject")
set t = fso.CreateTextFile("C:\Users\manisha\Desktop\My.txt",True)
Set t = fso.OpenTextFile("C:\Users\manisha\Desktop\My.txt", 1)
The file is not opening, am not even getting any error.
What am I doing wrong