Results 1 to 3 of 3
2005-02-25, 14:06 #1
- Join Date
- Jan 2002
- London, Gtr London, England
- Thanked 0 Times in 0 Posts
Table Row Height/re-direction (WORD 97/2000/...)
I have tasked with creating a template that require users to fill in certain information in a table. What they would like to do is as follows:
1. Define a row height of say 1 inch which expands to a maximum of 2 inches (so that the user can only enter n number of rows).
2. Define a row height of 2 inches which allows the user to enter only n number of rows. It stops adding anything in that row/box.
3. Define a row height of 2 inches max & when the user has filled in the two row, it redirects them to another page where they can enter more information.
Is any of the above possible? If not, could I use something else instead of a table - e.g. a text box? If you guys can think of some other way of doing this then I am willing to listen..
Thanks in advance.
2005-02-25, 21:10 #2
- Join Date
- Mar 2002
- Thanked 30 Times in 30 Posts
Re: Table Row Height/re-direction (WORD 97/2000/...)
Similar questions have been asked here before, and the answer is "not easily". It goes against the way Word works. The long thread starting at <post#=132458>post 132458</post#> veered towards employing a userform.
2005-02-25, 21:34 #3
- Join Date
- Feb 2001
- Silicon Valley, USA
- Thanked 94 Times in 90 Posts
Re: Table Row Height/re-direction (WORD 97/2000/..
Hans' reply may cover all this, but I wrote it before the Lounge went down and I just got back to post it:
Word just isn't very good for these sorts of requirements. <img src=/S/sad.gif border=0 alt=sad width=15 height=15> You can, of course, create table cells of a fixed size, but people can change the font to sneak in more text. (Assuming their jobs don't depend on it.) And while Word has a global event that monitors when the user changes the selection (i.e., clicks away from the current insertion point), if I recall correctly, it isn't very good at watching as you type ordinary body text. Not sure if TextBoxes have any added features along those lines.
Form Fields, which provide more control, might be a better bet. The "regular" ones on the Forms toolbar can have a maximum number of characters, but words can wrap at different places so this doesn't exactly meet your requirement regarding lines. You can attach automation to those fields, but it doesn't work in real time; at best, you could alert the user when they exit the field and enter another one (we've had threads on this, even one where the user's text gets truncated automatically).
Finally, there are the ActiveX control in the Controls toolbox. I haven't used them, so I can hold out hope that one might be perfect for you. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>