ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Create New .txt file (https://www.excelbanter.com/excel-programming/402257-create-new-txt-file.html)

Mike H.

Create New .txt file
 
I have a unique file name which I wish to put data in. But when I issue the
command:

Open strPath For Input As #FF

I get an error message 53, File Not Found. I know it is not found. I wish
to create it. How do I "open" an empty file for input?

Jay

Create New .txt file
 
Hi Mike -

Open strPath For Output As #FreeFile
---
Jay

"Mike H." wrote:

I have a unique file name which I wish to put data in. But when I issue the
command:

Open strPath For Input As #FF

I get an error message 53, File Not Found. I know it is not found. I wish
to create it. How do I "open" an empty file for input?



All times are GMT +1. The time now is 06:10 PM.

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