View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Create and write a simple text file in Excel/VBA

Hi Thomas
have a look at the Write method in the VBA help (included an example
for this)

--
Regards
Frank Kabel
Frankfurt, Germany


Thomas Wieser wrote:
Hi,

what is the easiest way to create a new text file, write one string
into the file and close it afterwards?


Regards, Thomas