If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
In Word, how do I surpress headers and footers on page 2 | Bill | General Discussion | 1 | December 15th, 2005 06:13 PM |
Hebrew Suggestions | Dannyza | General Discussion | 2 | November 21st, 2005 06:12 AM |
Word 97 in Windows XP to maintain formatting | Charlie''s Word VBA questions | General Discussion | 21 | October 24th, 2005 09:49 PM |
Microsoft Document Scanning doesn’t work properly with Multi Page | M Ism | General Discussions | 1 | March 25th, 2005 03:03 PM |
How to change merge forms from Word Perfect to Microsoft Word | Charles Kenyon | General Discussion | 1 | December 30th, 2004 03:35 PM |