String too long

A

Amy Dickens

Hello,

I am using a user form to gather notes to insert into a
document. Unfortunately, in some cases I'm getting an
error message stating that the string is too long. The
maximum length property for the form field is set at
unlimited. Any ideas how I can get this field to accept
more characters?

Thanks. Amy
 
D

Doug Robbins - Word MVP

Hi Amy,

See the article "How to set the result of a text formfield using VBA, if the
string is longer then 256 characters" at:

http://www.mvps.org/word/FAQs/MacrosVBA/SetLongFmFldResult.htm

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
Top