Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word 97: AutoText there or not???

Status
Not open for further replies.

mmtraining

IS-IT--Management
Mar 18, 2002
104
DE
Is there any way of testing whether there is an AutoText with a certain name, apart from picking up the error number if it is not there?

We have got thousands of bits of AutoText which have numbers as names. If someone types a wrong number into a field I want to give that person a better error message than the possibility of testing or ending the macro.

The more I think about it, the more I think the best way is to do an ON ERROR GOTO SOCK and then read out the error number. Has anyone got a better idea?

TIA :)

Carol
Berlin, Germany
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top