View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default Opening a xls for append

Duncan,
A CSV file is a Comma Separated Values file. i.e. what you are appending to
and normally have a file extension of .csv.
If you were appending your text to a real Excel file in this manner, you
would end up with a corrupt workbook, as the Excel file format is binary
based (BIFF8, OLEStorage or whatever).
Your method works and Excel opens it because Excel can open csv file.
To avoid confusion as what the file format is, it would be better to call
your file(s) "Whatever.csv".

NickHK

"Duncan" wrote in message
oups.com...
Thank you Felix, that is brill, copied straight in and works perfect.

I dont know what a CSV file is and what makes it differant but at the
moment that doesnt matter because I have achieved my goal for the time
being!

Many thanks again

Duncan