Hi,
I have text in word that appears as such,
(heading 1)
Paragraph 1(one line)
Paragraph 2(one line)
(heading 2)
Paragraph 1(one line)
Paragraph 2(one line)
Paragraph 3(one line)
Paragraph 4(one line)
Paragraph 5(one line)
ect...
Each heading does contain the word "heading" at the beginning and has a maximum of 5 paragraphs after each heading.
Each paragraph contains text that is completely different any other paragraphs.
Is there a macro that can count how many paragraphs there are between headings and add new (blank) paragraphs after headings that contain less than 5 paragraphs?
This would then look like such,
(heading 1)
Paragraph 1(one line)
Paragraph 2(one line)
(New Blank Paragraph 3)
(New Blank Paragraph 4)
(New Blank Paragraph 5)
(heading 2)
Paragraph 1(one line)
Paragraph 2(one line)
Paragraph 3(one line)
Paragraph 4(one line)
Paragraph 5(one line)
The purpose of this is so when i copy it into excel, it has exactly 5 lines between each heading for formula purposes. I'm aware that this can be done in a macro in excel but I'm after a macro that will achieve this in word.
Thanks very much,
Chris
I have text in word that appears as such,
(heading 1)
Paragraph 1(one line)
Paragraph 2(one line)
(heading 2)
Paragraph 1(one line)
Paragraph 2(one line)
Paragraph 3(one line)
Paragraph 4(one line)
Paragraph 5(one line)
ect...
Each heading does contain the word "heading" at the beginning and has a maximum of 5 paragraphs after each heading.
Each paragraph contains text that is completely different any other paragraphs.
Is there a macro that can count how many paragraphs there are between headings and add new (blank) paragraphs after headings that contain less than 5 paragraphs?
This would then look like such,
(heading 1)
Paragraph 1(one line)
Paragraph 2(one line)
(New Blank Paragraph 3)
(New Blank Paragraph 4)
(New Blank Paragraph 5)
(heading 2)
Paragraph 1(one line)
Paragraph 2(one line)
Paragraph 3(one line)
Paragraph 4(one line)
Paragraph 5(one line)
The purpose of this is so when i copy it into excel, it has exactly 5 lines between each heading for formula purposes. I'm aware that this can be done in a macro in excel but I'm after a macro that will achieve this in word.
Thanks very much,
Chris