J
Julian Ladbury
The Word 2007 Help for 'Variable.Value' states 'Setting the Value property to
a string longer than 255 characters generates an error.' This is not true. I
can successfully add document variables up to 65280 bytes in all versions
from 2000 on.
Help for the Value property in prior versions includes Variable,
AutoCorrectEntry and AutoTextEntry objects in a single topic, and states
there is a 255-byte limit for for AutoCorrectEntry and AutoTextEntry values.
I suspect the 2007 help for Variable.Value inadvertently copied this
information across.
Suggestion: correct the Help for Variable.Value in 2007 (and 2010 if the
error has been carried forward)
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/communitie...9040&dg=microsoft.public.office.developer.vba
a string longer than 255 characters generates an error.' This is not true. I
can successfully add document variables up to 65280 bytes in all versions
from 2000 on.
Help for the Value property in prior versions includes Variable,
AutoCorrectEntry and AutoTextEntry objects in a single topic, and states
there is a 255-byte limit for for AutoCorrectEntry and AutoTextEntry values.
I suspect the 2007 help for Variable.Value inadvertently copied this
information across.
Suggestion: correct the Help for Variable.Value in 2007 (and 2010 if the
error has been carried forward)
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/communitie...9040&dg=microsoft.public.office.developer.vba