Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
Deletion of Empty Page in the Word Document through VBA
This is to request for your help in this MS Word issue. In the VB application
we are required to copy and paste temporary documents (containing text, pictures, etc) into a single, final word document. The main document contains tables and the issue is related w.r.to tables. In the current application, the .rtf file is formed from the html file. While copying, the blank pages get inserted in the document if the control is in the €˜last but one row of a table and sometimes if the control is in the last row during document generation process. This causes the extra page in the document and page numbers are counted for this. We are working on Windows 2000 Server as our OS. In the existing code, section breaks (Next Page) are used. I am trying to scan each and every page and finding if any empty page is there. If so, I have planned to pass the delete key to delete the empty page. Could you provide any pointers as how to go about this? Any help in this issue would be greatly appreciated. If any sample code available to solve the issue will be helpful for me. Regards, Kiruthiga.S |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word applies direct format on File open | Microsoft Word Help | |||
page number printing on a merged report | Mailmerge | |||
Macros - Keyboard Commands | Microsoft Word Help | |||
How do I stop a word document printing an empty 2nd page | Microsoft Word Help | |||
How do I create & merge specific data base & master documents? | New Users |