Import text file - how to delimit (noob)

E

ern

I'm new to this, but I need to import some data from a text file into
Excel. I need info a few things:

1. How to delimit the text file so that the information goes into the
spreadsheet "gracefully" (in seperate cells).

2. Perhaps a resource or example illustrating the importing of a text
file into Excel... link?

3. Recommendations on how to script this.... (python possible?)

Thanks for the help !
 
G

gimme_this_gimme_that

If you're using Excel 2003 why don't use use XML and just do file ->
open ?
 
E

ern

If you're using Excel 2003 why don't use use XML and just do file ->
open ?

I've never used XML before. Is there an example of this on the web
somewhere ?
 
B

Bruce001

Here's how I open a text file.

Dim UF As Variant
UF = Application.GetOpenFilename(FileFilter:="Text File
(*.txt),*.txt", Title:="Open input file")
If UF = "False" Then
' user hit cancel'
Exit Sub
End If

Workbooks.OpenText Filename:=U
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top