Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Remove headers from text file

Hi all,

I have a combined text file made up from 7 individual files. However now I
have 7 headers in my combined file. How do I create a new text file without
the headers? The header line starts with a !.

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Remove headers from text file

Since it's only 7 lines I would open the text file in a text editor (Notepad
for instance) and then click EDIT in the menu and select FIND. Enter the "!"
w/o the quotes and click OK

Delete the first header line and then press F3 to locate and delete the next
occurrence. Repeat until all header line have been removed.
--
Kevin Backmann


"Hilton" wrote:

Hi all,

I have a combined text file made up from 7 individual files. However now I
have 7 headers in my combined file. How do I create a new text file without
the headers? The header line starts with a !.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Remove headers from text file

Apply Data|Filter|Autofilter (xl2003 menu system) to the column that contains
that indicator.

Then filter by that column to show the rows that contain (or begin with) an
exclamation point.

Delete the visible rows and remove the filter.

Hilton wrote:

Hi all,

I have a combined text file made up from 7 individual files. However now I
have 7 headers in my combined file. How do I create a new text file without
the headers? The header line starts with a !.

Thanks


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Remove headers from text file

HI,


I have about a million records so is there a way to do this
programmatically?

"Dave Peterson" wrote in message
...
Apply Data|Filter|Autofilter (xl2003 menu system) to the column that

contains
that indicator.

Then filter by that column to show the rows that contain (or begin with)

an
exclamation point.

Delete the visible rows and remove the filter.

Hilton wrote:

Hi all,

I have a combined text file made up from 7 individual files. However now

I
have 7 headers in my combined file. How do I create a new text file

without
the headers? The header line starts with a !.

Thanks


--

Dave Peterson



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Remove headers from text file

Record a macro when you do it manually and you'll have the code.

Hilton wrote:

HI,

I have about a million records so is there a way to do this
programmatically?

"Dave Peterson" wrote in message
...
Apply Data|Filter|Autofilter (xl2003 menu system) to the column that

contains
that indicator.

Then filter by that column to show the rows that contain (or begin with)

an
exclamation point.

Delete the visible rows and remove the filter.

Hilton wrote:

Hi all,

I have a combined text file made up from 7 individual files. However now

I
have 7 headers in my combined file. How do I create a new text file

without
the headers? The header line starts with a !.

Thanks


--

Dave Peterson


--

Dave Peterson
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
Remove headers in file Hilton Excel Worksheet Functions 0 November 5th 07 02:38 PM
Remove Headers Hilton Excel Discussion (Misc queries) 4 May 3rd 07 01:15 PM
How to consolidate worksheets (1 file) with different headers? lem Excel Worksheet Functions 0 May 17th 06 05:22 PM
How do I remove outlook headers from my excel worksheet? mishti Excel Discussion (Misc queries) 2 May 15th 05 12:36 PM
remove bold from cell ref headers Angiew Excel Discussion (Misc queries) 1 January 22nd 05 01:09 AM


All times are GMT +1. The time now is 12:54 PM.

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"