Copy or delete macro
Posted: Mon Feb 02, 2009 6:09 pm
I have a number of text files that average between 100k and 500k. Example text
<OTURN>DataId=3001559&Version=1</OTURN>
<OTSubType>749</OTSubType>
<OTLocation>1539739 2952416 3001559 </OTLocation>
<OTCurrentVersion>TRUE</OTCurrentVersion>
<OTEmailSubject>CIS: watch-process suspect process issues</OTEmailSubject>
the above will repeat but listing different " DataId=###### "
What I'm trying to do is either delete everything except the DataId values or copy the DataId values to a new file. In either case the values seperated by a comma.
Can I do this with a macro ?
<OTURN>DataId=3001559&Version=1</OTURN>
<OTSubType>749</OTSubType>
<OTLocation>1539739 2952416 3001559 </OTLocation>
<OTCurrentVersion>TRUE</OTCurrentVersion>
<OTEmailSubject>CIS: watch-process suspect process issues</OTEmailSubject>
the above will repeat but listing different " DataId=###### "
What I'm trying to do is either delete everything except the DataId values or copy the DataId values to a new file. In either case the values seperated by a comma.
Can I do this with a macro ?