i dont want to save my email befor send

cameron_kyle

Active Member
Joined
Jan 14, 2006
Messages
313
I have a macro that when activated will copy a range of formatted cells along with text and email it to the person who’s email address appears within the table, through lotus notes

It works great and I must admit it has been a life saver since I have to email at least several hundred people per week,

However before the email is sent, Lotus notes displays a message box asking me whether or not I would like to save the document after I sent the email,,,,, I don not want to save the email and having this message box appear waste a lot of time


Below is the section of code where the message prompt appears


Can anyone show me how to automatically select no to this message box?
Code:
Application.CutCopyMode = False


Call UIdoc.Send(False)
Call UIdoc.Close(False)


Set UIdoc = Nothing: Set WorkSpace = Nothing
Set db = Nothing: Set Notes = Nothing

    Exit Sub
    
 Next r

End Sub
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,144,628
Messages
5,725,378
Members
422,621
Latest member
dfrare

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top