fritserasmus
New Member
- Joined
- Aug 15, 2015
- Messages
- 2
I have a file with 147693 lines.
I need to remove 6 pairs of CR and LF at the end of the first 6 lines,
then skip one (which is a legitimate CR, LF)
then continue to the following 6 pairs.
Any help ho to do that?
I understand I will have to write a macro to do this, but have no idea hoe to find and remove / go to next CR to remove.
I tried this in Notepad ++
It runs fine if I do 50 at a time when running a macro, but Notepad ++ gets confused if I try to do more than 500 at a time.
Ideally I would like to do it in Excel in one go.
I can provide the original file; truncated after say 1000 records and then the matching Microsoft Excel file that was successfully converted..If needed.
Any advice will be appreciated very much
Frits
I need to remove 6 pairs of CR and LF at the end of the first 6 lines,
then skip one (which is a legitimate CR, LF)
then continue to the following 6 pairs.
Any help ho to do that?
I understand I will have to write a macro to do this, but have no idea hoe to find and remove / go to next CR to remove.
I tried this in Notepad ++
It runs fine if I do 50 at a time when running a macro, but Notepad ++ gets confused if I try to do more than 500 at a time.
Ideally I would like to do it in Excel in one go.
I can provide the original file; truncated after say 1000 records and then the matching Microsoft Excel file that was successfully converted..If needed.
Any advice will be appreciated very much
Frits