A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Deletion of Empty Page in the Word Document through VBA



 
 
Thread Tools Display Modes
  #1  
Old January 17th, 2006, 01:51 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 05:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.