Using MailEnvelope to create emails as draft

JJClark

New Member
Joined
Aug 9, 2017
Messages
5
I created this macro which is working.
The problem is that I am stuck trying to see and adjust the size of the tables before sending.
When I use .send the email goes.
When I use .display it creates the email within the excel and I select the range, but don't end up seeing the email before it goes.
Any suggestions?


Private Sub CommandButton1_Click()

' Some operations of copy paste
'Then I copy the sheet to a new one where I clean extra rows for the final report. Te final report sheet is to be deleted in the end so that every month I start with the main sheet.



ActiveWorkbook.EnvelopeVisible = True

With ActiveSheet.MailEnvelope
.Introduction = ""
.Item.To = "mail"
.Item.Subject = "name"
.Item.SEND
End With

Application.DisplayAlerts = False
Sheets("final report sheet").Delete
Application.DisplayAlerts = True

End Sub

Any suggestions??
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
remove .Item.SEND and put .Item.display
you'll have to send it yourself but you'll see the email now
 
Last edited:
Upvote 0
remove .Item.SEND and put .Item.display
you'll have to send it yourself but you'll see the email now

Hi! Thanks for reaching out.
I have been using .Item.display too. The problem is: it creates an email showing my excel file for me to select the range and send.
When I receive the email I feel the need to do resend and edit the size of the tables.
Make columns larger, etc.

I wanted to see the email with the tables already copied, as they will show when the email is sent.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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
Back
Top