ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do you read a text file into Microsoft Excel 97 visual basic (https://www.excelbanter.com/excel-programming/316055-how-do-you-read-text-file-into-microsoft-excel-97-visual-basic.html)

[email protected]

How do you read a text file into Microsoft Excel 97 visual basic
 
Hi,

I often use Excel to create text files using the commands:


====
Open myfilename For Output As #1

Print #1, "text"

Close
====

How do I do the opposite... ie. read variables from a comma separated
text file.

Any help would be much appreciated.

Thanks.





All times are GMT +1. The time now is 05:41 AM.

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