Simple question. With the following code, what do I have to dim MyFile as to get my IntelliSense to work. Do I dim it as an Object?
Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject"
Set MyFile = fso.CreateTextFile("c:\testfile.txt", True)
MyFile.WriteLine("This is a test."
MyFile.Close
Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject"
Set MyFile = fso.CreateTextFile("c:\testfile.txt", True)
MyFile.WriteLine("This is a test."
MyFile.Close