![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
OK. I've had a quick look at the document and can see what the problem is - cells spanning page boundaries. What is the purpose of the page-by-page processing? Can your needs be met by telling Word to not allow the cells to split across pages?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
My requirement is to generate a report which could range upto 1000 pages
and will have lots of tables in it. It's a business need that tables having too many rows and which cannot be accommodated in a single page will have to flow to next page and cannot be broken. So, preventing the cells spanning page boundaries is not desirable. Having said that, some times, i find an empty table row on a page in RTF file which (as you mentioned) would have got crossed the page boundaries. My main problem over here,i need to ensure that there are no empty pages or pages with empty table rows in the report. If there are any, then i need to get rid of them by removing these kind of blank pages. For the same reason, i am iterating through the whole RTF document page by page searching for blank pages and removing them. I need to achieve this programmatically. This is where the problem lies, where in it is not able to identify pages with empty table rows or cells, becoz a part of the text gets selected from previous page resulting the current page not to be considered as a blank page. But, actually, it's a blank page. Any help in resolving this issue would be great. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Printing a Selection in Word and keeping it in the same place on the page | punkrae | Word | 0 | 03-29-2012 10:49 AM |
Text Box Selection
|
GugaBFigueiredo | Word | 1 | 01-16-2012 09:04 PM |
| Macro to populate a text form field based on dropdown selection | koloa | Word | 0 | 10-20-2011 11:52 AM |
table spanning multiple pages 'upside down'
|
lj_eco | Word Tables | 13 | 07-17-2011 04:39 PM |
Form Field - Drop down selection causing auto text
|
chesspupil | Word VBA | 7 | 05-09-2010 05:43 AM |