Back again and on fire ![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I ahve searched everywhere and come up with this codeee
This is what i have stored in a textfile
I use the code below to read it into a listview with three columns.
Problem is that in the first column it only reads the YEAR, and nothing else... I have tried and put like 20111111 in the textfile and it reads that aswell.. everything else is going okay!
Like this
Column1 Column 2 Column 3
2011 Testing to read this string 2011-07-01
I ahve searched everywhere and come up with this codeee
This is what i have stored in a textfile
Code:
2011-06-30,Testing to read this string,2011-07-01
I use the code below to read it into a listview with three columns.
Problem is that in the first column it only reads the YEAR, and nothing else... I have tried and put like 20111111 in the textfile and it reads that aswell.. everything else is going okay!
Like this
Column1 Column 2 Column 3
2011 Testing to read this string 2011-07-01
Code:
Open filepath For Input As #1
Do While Not EOF(1)
Input #1, date1, loggen, date2
'address2,
Set lvItems = UserForm1.ListView2.ListItems.Add
lvItems.Text = date1
lvItems.SubItems(1) = loggen
lvItems.SubItems(2) = date2
Loop
Close #1