S
shark102
hello
I have a document with many many short sections which looks like that:
---------section break (continuous)------------
text ^p
text ^p
text ^p
---------section break (continuous)------------
text ^p
text ^p
text ^p
text ^p
---------section break (continuous)------------
text ^p
text ^p
---------section break (continuous)------------
text ^p
text ^p
text ^p
etc.... - there are usually 3 sections per page.
It goes on for many pages. The thing I need to do is to format each section
as 'keep with next' so that sections are not split between pages when
printing. I recorded macro using find ^12*^12 and formatting one paragraph
but cant loop it. Do not know where to put while or loop or do until, still
do not know enough about VBA.
Any help appreciated.
Thanks
I have a document with many many short sections which looks like that:
---------section break (continuous)------------
text ^p
text ^p
text ^p
---------section break (continuous)------------
text ^p
text ^p
text ^p
text ^p
---------section break (continuous)------------
text ^p
text ^p
---------section break (continuous)------------
text ^p
text ^p
text ^p
etc.... - there are usually 3 sections per page.
It goes on for many pages. The thing I need to do is to format each section
as 'keep with next' so that sections are not split between pages when
printing. I recorded macro using find ^12*^12 and formatting one paragraph
but cant loop it. Do not know where to put while or loop or do until, still
do not know enough about VBA.
Any help appreciated.
Thanks