Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Code for searching & copying Text from 1 text file to another
This is quite out of my league. I am trying to get a set of code that would:
1. In a text file, Search line by line for a keyword or number (most likely part of a sentence) 2. From the line where the 1st keyword/number was found, search again line by line for another keyword/number 3. When the 2nd keyword is found, copy the contents between the lines containing the two keywords to another text file 4. Loop the process for N sets of keywords Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
searching a text file and importing selected data | Excel Discussion (Misc queries) | |||
searching and copying text in drawing layer of excel? | Excel Discussion (Misc queries) | |||
copying text via linked cell from combo box to macro code | Excel Programming | |||
Copying text file into worksheet | Excel Programming | |||
Searching multiple files and copying text | Excel Programming |