The simple version of the question is this.
if outlook.application "is available" then
'run the command for sending an email
else
'open/display the current users document folder
end if
'do some stuff...
I the email function works great on its own, but i cannot seem to figure out how to test for outlook and bypass to displaying the folder...
The following code first checks whether Outlook is already running. If so, the application is assigned to olApp. If not, it starts the application, if available, and assigns it to olApp.