Hello everyone-
I'm trying to write some code that emails some text to someone. In my office we use Lotus Notes. I've wrote the code and it works fine as long as Lotus Notes is open on the machine. But if Lotus Notes isn't open, my code pastes the information all over the place, and doesn't work correctly. So ideally, what I'd like to happen is that in my code, it first checks to see if there's an instance of Notes running. If so, it does my existing code. If not, then it just displays an error message to launch Notes first.
Sorry for the lengthy question. In short: does anyone know how to check to see if a specific program is currently running in VBA code?
Thanks
-Mark
I'm trying to write some code that emails some text to someone. In my office we use Lotus Notes. I've wrote the code and it works fine as long as Lotus Notes is open on the machine. But if Lotus Notes isn't open, my code pastes the information all over the place, and doesn't work correctly. So ideally, what I'd like to happen is that in my code, it first checks to see if there's an instance of Notes running. If so, it does my existing code. If not, then it just displays an error message to launch Notes first.
Sorry for the lengthy question. In short: does anyone know how to check to see if a specific program is currently running in VBA code?
Thanks
-Mark