Exporting to a text file
Posted by Kevin on February 11, 2002 10:49 AM
I have a VBA procedure which performs a simulation, recalculating the spreadsheet as many times as the user requests (via an inout box). There are RAND()'s scattered about the workbook, so each iteration will produce different results. I want to be able to output some of the results (which are stored in a range) of each recalculation to one text file (since there could be too many rows to conveniently fit in an Excel workbook). Is there any way to output successive recalculations to THE SAME text file, with each iteration's results being appended to the text file?
Thanks for your help!