Document Variable Limits

R

Ridge Kennedy

Dear All,

How much text can be saved in a document variable? Is formatting
information saved along with text, or just the character string data? I've
been trying to work with them, had some success and some not so success.

Sincerely,

Ridge (in New Joisey [Exit 145])
 
J

Jonathan West

Ridge Kennedy said:
Dear All,

How much text can be saved in a document variable?

I think that there is a maximum of about 65K allocated for all the variables
and their names in a document.
Is formatting information saved along with text, or just the character
string data?

Just character string data.

It's really designed for relatively small document-specific settings. If
you're pushing the 65K limit you are likely to have problems.

--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
Top