Microsoft KB Archive/62412

Word for Windows Macro That Removes All Hard Page Breaks

PSS ID Number: Q62412 Article last modified on 05-14-1991

1.00

MS-DOS

Summary: The following Word for Windows macro removes all hard page breaks (that is, manually inserted page breaks) from a document without asking for confirmation at each page break: Sub Main StartOfDocument EditReplace Chr$(12), "", 0, 0, 0, 0 End Sub The following Word for Windows macro removes all hard page breaks from a document and asks for confirmation at each page break:  Sub MAIN  StartOfDocument  EditReplace Chr$ (12), &quot;&quot;, 0, 0, 1, 0 End Sub

Reference(s):

Additional Keywords: w4wmacro