|
-
Feb 7th, 2007, 03:34 AM
#9
Junior Member
Re: Word: End of Document
The below code helps to remove the page beaks in the activedocument
Dim myrange As Range
Set myrange = ActiveDocument.Range
myrange.Find.ClearFormatting
myrange.Find.Replacement.ClearFormatting
myrange.Find.Execute findtext:="^m", replacewith:="", Replace:=wdReplaceAll, Forward:=True, MatchWildcards:=False
Thanks,
nit22
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|