M
MikeB77
I'm trying to programatically test if the Microsoft Speech Object Library is
selected and then if it is not I'd like to set it.
I've tried error trapping each side of a Dim but that didn't work:
On error reume next
Voc = SpeechLib.SpVoice
On error resume 0
If voc is nothing then '... let me know or fix it
Due to security levels I hope I can do this without
Application.VBE.ActiveVBProject.References
Can anyone shine some light on this one?
Thanks!
Mike
selected and then if it is not I'd like to set it.
I've tried error trapping each side of a Dim but that didn't work:
On error reume next
Voc = SpeechLib.SpVoice
On error resume 0
If voc is nothing then '... let me know or fix it
Due to security levels I hope I can do this without
Application.VBE.ActiveVBProject.References
Can anyone shine some light on this one?
Thanks!
Mike