troubleshooting Question

Using VBA and Word, how can I find out whether a subroutine exists on a given computer?

Avatar of JohnRobinAllen
JohnRobinAllenFlag for Canada asked on
PerlMicrosoft Word
27 Comments5 Solutions1000 ViewsLast Modified:
I have a routine that will decrypt or encrypt messages. It works with Word Object variables. I want to have this available for special persons (professors) working on their computers but not on computers used by students. I therefore put the decrypt routine in a subroutine on computers that should access the information, but not on other computers. How can I check whether the subroutine is on a computer before calling it? I get an error message when the decrypt routine is not on a computer.

Thanks for help. I am sure the solution is quite simple and commonplace.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 5 Answers and 27 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 5 Answers and 27 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros