ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to create a new text file (https://www.excelbanter.com/excel-programming/341828-how-create-new-text-file.html)

rock[_3_]

how to create a new text file
 
HJow do i create a new text file?????


Tom Ogilvy

how to create a new text file
 
Little vague, but

File=Save As
and select one of the text options from the file type dropdown.

Need code? Turn on the macro recorder while you do it manually.

--
Regards,
Tom Ogilvy

"rock" wrote in message
ps.com...
HJow do i create a new text file?????




J P

how to create a new text file
 


how to create a new text file dynamicaaly through VB

*** Sent via Developersdex http://www.developersdex.com ***

Tom Ogilvy

how to create a new text file
 
answered.

If that isn't what you want, look at this article on low level fileio:

http://tinyurl.com/dghhf


also:
http://msdn.microsoft.com/library/en...ce09072000.asp
Working with Files, Folders and Drives: More VBA Tips and Tricks by David

http://support.microsoft.com/default...b;en-us;151262
Working with Sequential Access Files

http://www.applecore99.com/gen/gen029.asp

--
Regards,
Tom Ogilvy


"J P" wrote in message
...


how to create a new text file dynamicaaly through VB

*** Sent via Developersdex http://www.developersdex.com ***




rock[_3_]

how to create a new text file
 
hi thanx for the insight... but my problem was resolved as VB
automatically creates a new file if it previously doesn't exist.......
(using open cmd)



All times are GMT +1. The time now is 12:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com