Z
zkid
I have a merged document in a table format. So, once merged, there is a
section break in between between each row of the table. There are over 500
records being merged, so it is not possible to create a table with all
possible <next record> fields.
For some reason, using the replace feature will not touch the section
breaks. If I search for each one, and then use selection.delete, that works
fine. However, this process is excrutiatingly slow in large documents.
Does anyone know of a way to programmically iterate each section break as an
object? Something like:
For Each sec In ActiveDocument.Sections
sec.Delete
Next sec
I don't want to delete the section range - just the section break itself.
Thanks so much.
section break in between between each row of the table. There are over 500
records being merged, so it is not possible to create a table with all
possible <next record> fields.
For some reason, using the replace feature will not touch the section
breaks. If I search for each one, and then use selection.delete, that works
fine. However, this process is excrutiatingly slow in large documents.
Does anyone know of a way to programmically iterate each section break as an
object? Something like:
For Each sec In ActiveDocument.Sections
sec.Delete
Next sec
I don't want to delete the section range - just the section break itself.
Thanks so much.