2003-07-08, 20:07 #1
- Join Date
- Jul 2003
- Emanuel, South Australia, Israel
- Thanked 0 Times in 0 Posts
Elementary, Watson (VBA/Word/2000)
What code can I use in a macro NOT in the Normal template to check if a specific macro exists in the Normal template?
In English: If Normal.ABC.ABC does not exist then XYZ.
What works for me now is that if it does exist, XYZ causes an error, which I trap to bypass XYZ and continue. But that is poor code. Is there any way to test for existence of the macro item?
Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!
+ Get this BONUS — free!
Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!
2003-07-08, 20:26 #2
- Join Date
- Mar 2002
- Thanked 16 Times in 16 Posts
Re: Elementary, Watson (VBA/Word/2000)
This question has also been posted in the Word forum. To avoid confusion and duplication, post your replies to <post#=272692 >post 272692 </post#>, please. I am locking this thread.