Using VBA and Word, how can I find out whether a subroutine exists on a given computer?
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.