Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to create a Text File ?
I know how to read & write to a Text File but not how to create it via code.
Any thoughts . Regards. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to create a Text File ?
Hi nameless boy
Sub test() Open "C:\Temp\JustAnotherTextfile.txt" For Output As #1 Close #1 End Sub Note that code does nothing else and does not follow best practices of code writing. Demo only. HTH. Best wishes Harald "RAFAAJ2000" skrev i melding ... I know how to read & write to a Text File but not how to create it via code. Any thoughts . Regards. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to create a Text File ?
Thanks Harald,
That was easy :) Regards. "Harald Staff" wrote: Hi nameless boy Sub test() Open "C:\Temp\JustAnotherTextfile.txt" For Output As #1 Close #1 End Sub Note that code does nothing else and does not follow best practices of code writing. Demo only. HTH. Best wishes Harald "RAFAAJ2000" skrev i melding ... I know how to read & write to a Text File but not how to create it via code. Any thoughts . Regards. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Code to create dbase file from text file? | Excel Discussion (Misc queries) | |||
Create text file | Excel Discussion (Misc queries) | |||
How to create a UTF-8 text file from excel VBA | Excel Discussion (Misc queries) | |||
Can I use Excel to create this text file? | Excel Worksheet Functions | |||
Sort Filter & Create Text File | Excel Programming |