Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
FormField in a fixedsize table cell - how to avoid invisible conte
I have a table in a word(2000) formular (all cells fixed, Layout is static)
with a FormField which is filled via OleAutomation; the text that is filled in may be larger than the cell Rect (may contain wrapped lines and LineFeeds) which results in invisible text. So after writing the FormField-Text I want to find out whether there is invisible Text, truncate those invisible Lines +1 from the FormField-Text and add a "(continued on next page)"-Line; the truncated part of the original Text has to be written in another FormField on the second Page. Any Solutions ?? |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
FormField in a fixedsize table cell - how to avoid invisible conte
Hi ?B?YWxp?=,
I have a table in a word(2000) formular (all cells fixed, Layout is static) with a FormField which is filled via OleAutomation; the text that is filled in may be larger than the cell Rect (may contain wrapped lines and LineFeeds) which results in invisible text. So after writing the FormField-Text I want to find out whether there is invisible Text, truncate those invisible Lines +1 from the FormField-Text and add a "(continued on next page)"-Line; the truncated part of the original Text has to be written in another FormField on the second Page. As far as I know - and I've tried numerous times to find a way - figuring out what's visible vs. not can't be done. Closest you could get is to calculate exactly how many lines are visible, then count the lines in the form field and remove the extras. Since this has to be done using macro code, I suggest you post in one of the Word.vba newsgroups. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
caption in a table cell | Tables | |||
Cell borders in a Table do not display on the monitor screen | Tables | |||
How can I put a tab inside a table cell? | Tables | |||
Copy text from word document to cell of a table | Tables | |||
Table cell alignments | Microsoft Word Help |