VBA read from txt file into excel document

Join Date
Jun 2007
Location
Oxford, UK
Posts
163
I have just been given the task of figuring out how to move data from a csv txt file into a excel spreadsheet in VBA. i have no idea about VBA and have been given some starting points but having had a good look i cant seem to find anything really relevant on the net. im probably not searching for the right criteria. if anyone has any tips for searching for this sort of topic or any help with this problem i would be most appreciated.
 
Depends on what you want to do but I would just reformat the text file into an HTML table. Excel will open it up without any problems. I think I posted some examples on here before. If you like I can post examples.
 
Cheers mate. i have just posted on that website. cheers for the help. :)

CharlesM, this is more of a task for training rather than a constructive exercise. im just trying to get used to the VBA working. cheers for the reply :)
 

Similar Topics

Hello friends; I found a code for VBA use in excel to read the Tags values from RSlogix 5000 through RSlink. The code is here: Dim OPCServer1 As...
Replies
9
Views
3,846
Hi there, I have been looking in the forums for this and I saw a couple of examples but I still don't understand very well how to create a VBA...
Replies
4
Views
8,992
  • Poll
How to write a VBA in Factory Talk to read Alarm Tag from Alarm summary and open a display associated to that tag. Or open any desired display...
Replies
2
Views
7,048
So, if I had a parameter file with #1=mytag, how could I read that parameter tag value in VBA on the popup screen opened with that parameter file...
Replies
3
Views
3,206
Back
Top Bottom