PDA

View Full Version : Creating Text Files From VBA in Excel



mathare
9th January 2005, 20:58
Can Excel create a new text file with VBA and write to it?

If so, how??

Or will I have to write the data to a new worksheet and save that worksheet as text?

TheOldhamWhisper
9th January 2005, 21:14
Try here: http://www.exceltip.com/st/Replace_text_in_a_text_file_using_VBA_in_Microsoft_Excel/494.html

mathare
9th January 2005, 21:15
Of course, that's how you do it.

Cheers Oldham :)