Morning,
I have set-up some code that automatically sends an e-mail through Lotus notes according to information on a userform.
It works great, but if Lotus notes is not open then it all goes to hell.
For the life of me I cannot think of a way to get VBA to check whether Lotus notes is already open, and if not to Exit the Sub (or Goto the bottom of the code to do more stuff. I'm sure this is simple, but my excel coding (though getting better) is still mainly finding and bastardising found code for the more complex things.
I have pasted the e-mail sending code below:
Thanks in advance for any help offered!!!!!![]()
Please Login or Register to view this content.
Bookmarks