FractalWalk
Technical User
Using VBA within Excel 2007, I am writing a 1-deminsional array to a text file by opening a file for output, looping through each element of the array and printing them to the file.
Open (path of file) For Output As #1
For a = 0 To b
Print #1, Data(a)
Next a
Close
It works but it is very slow. Is there a way to write the entire array to the text file all at once?
Open (path of file) For Output As #1
For a = 0 To b
Print #1, Data(a)
Next a
Close
It works but it is very slow. Is there a way to write the entire array to the text file all at once?