![]() |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]() Hi, I am trying to generate a word document (Word 2010) which has multiple sections in it and page numbering starts with 1 for each section. My document has some blank pages in some of the sections and i am using the below code to remove the blank pages . When i delete the blank page , my section page numbering is not retained. page numbering starts from 1 to end of the document inspite of having different sections in it . PWordApp.Selection.EndKey(Unit:=Word.WdUnits.wdSto ry) PWordApp.Selection.TypeBackspace() PWordApp.Selection.Delete() Please let me know how can i retain page numbering at section level after deleting the blank pages in word 2010. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
sunalta | Word | 1 | 05-31-2012 02:48 PM |
![]() |
jnbwolf | Word | 2 | 12-21-2011 12:33 AM |
![]() |
pamm13 | Word | 1 | 06-22-2011 11:10 AM |
Unable to delete the last blank page. | anandjeevakan | Word | 0 | 12-11-2009 05:20 AM |
Section breaks, footers and page numbering | yeswab | Word | 0 | 03-19-2009 06:37 AM |