


Note that the macro does effectively what was done in the earlier steps: it copies the worksheet to a new workbook and then e-mails that workbook. 'Restore screen updating and release Outlook '.body = "Dear John" & vbCrLf & vbCrLf & _
#Copy parts of a excel spreadsheet and paste it in email excel for mac 2011 code
'Uncomment the lines below to hard code a body '.To = the line below to hard code a subject 'Uncomment the line below to hard code a recipient Set oApp = CreateObject("Outlook.Application") However, it may be instructive to provide an example of a macro that can e-mail a worksheet using Outlook as the mail program. For this reason, it is not possible to provide a comprehensive macro-based answer in this tip. The macro you create will vary, depending on the e-mail program you are using. If you need to routinely e-mail the current worksheet to someone else, you may want to create a macro that will do the task for you. Once it is e-mailed, you can delete the workbook from your system, as your worksheet is still in the original workbook, as well. Save this workbook and e-mail it, and you've accomplished what you wanted to do. Make sure the Create a Copy check box is selected.Īt this point, you should see a new workbook with a single worksheet in it-a copy of the worksheet you want to send.Using the To Book drop-down list, choose New Book.Excel displays the Move or Copy dialog box. From the resulting Context menu, choose Move or Copy.Right-click the tab for the worksheet you want to e-mail.If you only need to do this once in a while, then the easiest way is to follow these steps: Of course, it is easy to make a workbook from a single worksheet. You can only send files as attachments to e-mails, which means that you must have a workbook file to send.

The short answer is that you cannot-a worksheet, by itself, cannot exist as an "entity" that you can attach to an e-mail. German asked if there is a way to send one worksheet in a workbook as an e-mail attachment without sending the entire workbook.
