Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent ADO from converting text in text file?
Message
From
30/08/2000 10:01:20
 
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00410408
Message ID:
00410708
Views:
15
If I understand you, you can use FileSystemObject(FSO).
Open a reference to Microsof Scripting Runtime, and then....
Dim a As Scripting.TextStream
Dim b As Scripting.FileSystemObject
Set a = b.OpenTextFile("YourFile.csv")
This, put your csv file, line by line in a TextStream Object, then you can cut line in pieces (well, pieces separated by commas) using Mid, Left, and other VBA string functions.
Try it!!!
I hope help you with this.

German
glurrea
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform