Morning all.
 
If I do the following in step 1:
 
Set fs  = CreateObject ("Scripting.FilesystemObject")
Set a = fs.CreateTextFile ("c:\logs\somefilename.txt", True)
 
And then in step 2:
 
a.WriteLine ("Some text goes here")
a.WirteLine ("Some more text goes here")
 
I get an error in step 2 since I have left the sub in step 1.  Do I need to
Dim a as ?, or do I need to set a= fs before I can write to a, for each step
that I need to write to?
 
Thanks.

Brian Bennett 
Affinity Health Systems 
PBS\Clinic Billing 
(920)628-9055 
[EMAIL PROTECTED] 

 

 

Reply via email to