r/excel • u/Defiled- • Dec 14 '18
solved Split .csv file by the header row line identifier (multiple headers in file)
Hey guys,
I have .csv files that contain multiple header rows with a line identifier of 'DH', all the data is then subsequently under a 'DL' line identifier until the next header row.
I need to be able to split these files so that each header row and its relevant detail lines are put into their own files.
Any ideas on how I can do this please? The programs I've found online seem to all be by x amount of rows.
Thanks!
1
Upvotes
View all comments
Show parent comment
1
u/Defiled- Dec 14 '18
ahh sorry about that. I thought I had to do something there but obviously not. I believe I've done what I need to do now, I get the MsgBox appear but no new files in my location? Do I need to add anything here?
https://ibb.co/X7HhKc7