![]() |
#1
|
|||
|
|||
![]()
Is there a way to delete blank pages in the end of document? I did try that:
Public Sub DeleteBlankPage() Selection.GoTo What:=wdGoToBookmark, Name:="\page" If isBlankSelection Then Selection.Delete End If End Sub Public Function BlankPageSelection() For Each c In Selection.Characters If (c <> vbCr And c <> vbTab And c <> vbFormFeed And c <> " ") Then BlankPageSelection = False Exit Function End If Next BlankPageSelection = True End Function Read more : but no sucess |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
thauser | Word | 3 | 05-27-2014 01:56 AM |
![]() |
Microsoftenquirer1000 | Word | 14 | 08-27-2012 01:24 PM |
delete blank pages from mail merge document | blusea | Word | 0 | 12-17-2010 06:10 PM |
How do you delete a blank page at end? | aerophil | Word | 4 | 10-24-2009 05:04 AM |
hidden blank pages | mljm | Word | 3 | 06-19-2009 03:18 AM |