Maximum length of document variable using VBA in Word
Posted on 2013-11-18
Working with VBA in Word, I have a long string, 1,899,391 characters long. I want to save it as a document variable. VBA objects and says my string is too long. I’ve tried VBA Help, the Internet, and EE, and nowhere can I find the maximum length possible for a document variable. If I knew that, I could chop my variable into shorter strings to save separately.
Thanks for any suggestions. I can give further details on the problem if necessary.
JRA in Priddis, Alberta