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

hi,

i would like to know if there is a way i can take certin rows from a text
file?

thanks in advance,
geebee

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default parse from txt file

I think you will have to provide more details about what you are trying to
do.

Rick


"geebee" (noSPAMs) wrote in message
...
hi,

i would like to know if there is a way i can take certin rows from a text
file?

thanks in advance,
geebee


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default parse from txt file

What would your criteria be based on in order to decide what rows to take
from the text file? I would say yes it is possible. Give some more info on
the data itself as well. Is the text file comma delimited? Will you need
the code to set field widths for you. If it is comma delimitted will you
need to parse part of a cell, entire rows, just cells, certain columns? It
can all be done you just need to be more specific with the question if you
want help on how to do it.


geebee wrote:
hi,

i would like to know if there is a way i can take certin rows from a text
file?

thanks in advance,
geebee


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200808/1

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default parse from txt file

You have to write a code that uses the line input command to read an entire
line. Then you can parse the line to see if it meets your criteria. If it
does, you can do what you want with it. You would place this code in a loop
that ends when an EOF is reached on the file.

"geebee" wrote:

hi,

i would like to know if there is a way i can take certin rows from a text
file?

thanks in advance,
geebee

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
Parse File Location Mike Excel Worksheet Functions 5 October 3rd 07 04:05 PM
VBA - Error Using Mid To Parse A Data (.dat) File ajocius[_56_] Excel Programming 2 May 22nd 06 03:03 AM
How to parse data in text file sifar Excel Programming 4 October 8th 05 01:50 AM
Parse through a TXT file in reverse order JM[_5_] Excel Programming 5 January 13th 05 08:31 AM
Parse Text File John[_62_] Excel Programming 5 October 22nd 03 02:50 PM


All times are GMT +1. The time now is 10:17 PM.

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

About Us

"It's about Microsoft Excel"