Word - auto text entries

A

Aminc

I have a container with several auto-text entries, some of them longer than
255 characters. Retrieval of these using
"Templates(<FileName>).AutoTextEntries(<EntryName>).Value" results in
truncation of the value to 255 chars.

Macro uses the above method to store value to a variable which is then being
passed to another routine for generation of a pop-up list.

Please advise if there is a workaround for the above.
 
J

Jezebel

There must be something else you're doing to truncate it. AutoText entries
aren't limited to 255 characters: you can have any amount of content,
including graphics and formatting. However, as alternatives if you're just
working with plain text, you can use document variables or document
properties.
 
C

Charles Kenyon

Using the Insert method for AutoText inserts the entire entry in your
document. Not sure what you would do with it from there. But you have pop-up
lists with more than 255 characters per choice? Have you looked into the
AutoText list field or generating a custom menu of AutoText instead?
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top