![]() |
|
|
|
#1
|
|||
|
|||
|
Rick when ever I'm opening a PDF in word I first run text recognition in Adobe or BlueBeam and then when I have extra page breaks I run the following macro to remove all breaks:
Code:
Sub DeletePageBreaks()
Dim arr() As Variant
Dim i As Byte
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
arr = Array("wdSectionBreakContinuous", "^m", "^n", "^b")
For i = LBound(arr) To UBound(arr)
With Selection.Find
.Text = arr(i)
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
End With
Selection.Find.Execute Replace:=wdReplaceAll
Next
End Sub
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Word 2016/365 Nightmare with Watermarks - Advice needed | steve_lemon | Word VBA | 4 | 03-04-2018 09:19 AM |
editing text converted from handwriting
|
jsw | OneNote | 3 | 11-30-2014 03:41 PM |
office word nightmare - essay!!!
|
georgemcn | Word | 1 | 07-06-2012 05:36 PM |
Word Letthead nightmare
|
dave-mac | Word | 4 | 10-04-2011 03:49 PM |
Microsoft Word 2003 nightmare
|
Loochery | Word | 2 | 05-31-2011 02:04 AM |