Hi Martin,
Is it possible to restrict the number of characters that can be typed into a
Word document? I want to do this so that users can copy / paste into a
database field without exceeding the validated number of characters?
Hmmm, most database programs I'm familiar with would simply cut off the
superfluous characters...
There's nothing built into Word that will let you do this exactly as you
describe. What you might be able to use depends on exactly how you need to
work, and whether you want only plain text, or also formatting and other
stuff, to transfer to the data base field?
You might take a look at using a textbox from the FORMS toolbar, for example,
because you can set this to an upper limit. The only other thought that comes
to mind would be to use a macro for the copying that would check the number of
characters before proceeding (and give you a warning?)
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail