Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Import txt file

Can you please assist.

I have a file that has tabs, CR, and LF, so I have delimeted the Txt
file by using a ^. eg a field can be any combination of ^text
.....CR....TAB....^

I wish to import the txt without the tabs, CR and LF. The file
contains about 24 columns, by about 200 rows.

What are my bext options?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Import txt file

I'll start wiht the obvious just to find out if this requires something more
inticate. Copy the data into Excel and use Data - Text To Columns...

HTH

"Greg" wrote:

Can you please assist.

I have a file that has tabs, CR, and LF, so I have delimeted the Txt
file by using a ^. eg a field can be any combination of ^text
.....CR....TAB....^

I wish to import the txt without the tabs, CR and LF. The file
contains about 24 columns, by about 200 rows.

What are my bext options?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Import txt file

To avoid that whole pesky exercise you can also use data - getdata - Text
File

HTH

"Greg" wrote:

Can you please assist.

I have a file that has tabs, CR, and LF, so I have delimeted the Txt
file by using a ^. eg a field can be any combination of ^text
.....CR....TAB....^

I wish to import the txt without the tabs, CR and LF. The file
contains about 24 columns, by about 200 rows.

What are my bext options?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Import txt file

"?B?SmltIFRob21saW5zb24=?=" wrote in message ...
To avoid that whole pesky exercise you can also use data - getdata - Text
File

HTH

"Greg" wrote:

Can you please assist.

I have a file that has tabs, CR, and LF, so I have delimeted the Txt
file by using a ^. eg a field can be any combination of ^text
.....CR....TAB....^

I wish to import the txt without the tabs, CR and LF. The file
contains about 24 columns, by about 200 rows.

What are my bext options?


Thank you HTH

The issue is I wish to prevent the CR LF TAB being imported from
fields of text - sentences. It may be easier to clean the file in
word to remove, or replace all the non text characters, or to catch
the non text at the time of import, rather than cleaning up after the
importation.

I tried to find data - getdata - Text using xl 2002 however, I found
data - Import External Data - Import Data. All the data is placed
in one column and I used Text to columns to delimeter the column.

This works, is this still my best option?

If it is, during the Text to Columns process, is there a way to make
all the columns string rather than general?
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
Would Like to Automate Batch File Creation and Text FIle Import socrtwo Excel Discussion (Misc queries) 2 August 18th 06 03:54 PM
Import text file into excel with preset file layout, delimeters VBA meldrape Excel Programming 7 June 15th 04 08:31 PM
open file dialog-select file-import worksheet Divinedar Excel Programming 1 January 16th 04 07:13 PM
Get External Data, Import Text File, File name problem Scott Riddle Excel Programming 1 July 11th 03 05:40 PM


All times are GMT +1. The time now is 09:37 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"