Write contents of a string array to a text file

Write contents of a String Array to a text file on the local PC. You need to specify the text file and the string array

Dim filenum1 As Integer 
filenum1 = Freefile
Open "C:\EmployeesTargetedForArchiving.TXT" For Append As filenum1	
For J = 0 To Ubound(TargetArchiveArray)
	Write #filenum1 , TargetArchiveArray(J)
Next J	
Close filenum1

Posted by fbrefere001 on Friday February 22, 2002