Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Import text file - how to delimit (noob)

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 !

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 129
Default Import text file - how to delimit (noob)

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Import text file - how to delimit (noob)


wrote:
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 ?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Import text file - how to delimit (noob)


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

--
Bruce00
-----------------------------------------------------------------------
Bruce001's Profile: http://www.excelforum.com/member.php...fo&userid=2663
View this thread: http://www.excelforum.com/showthread.php?threadid=50733

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I import text file of cash flow to excel file then use formula Bumpa Excel Discussion (Misc queries) 2 May 28th 10 04:22 PM
Find text and return - NOOB question rapid1 Excel Discussion (Misc queries) 8 January 3rd 07 03:42 PM
How to transpose an excel worksheet having more than 10000 rows into a text file, may by tab delimit Fred zheng Excel Programming 4 October 12th 05 06:07 PM
How do I import text file, analyze data, export results, open next file Geoffro Excel Programming 2 March 6th 05 08:02 PM
Import text file into excel with preset file layout, delimeters VBA meldrape Excel Programming 7 June 15th 04 08:31 PM


All times are GMT +1. The time now is 04:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"