ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   send excel workbook as attachment to multiple users (https://www.excelbanter.com/excel-programming/383649-send-excel-workbook-attachment-multiple-users.html)

guz

send excel workbook as attachment to multiple users
 
How can I create an VBA macro so that I can email a sheet within a workbook
to multiple users

Tom Ogilvy

send excel workbook as attachment to multiple users
 
copy the sheet, then use sendmail. close the copy without saving

Activesheet.copy
Activeworkbook.SendMail Recipients:=Array("a@B","c@D"), Subject:="Open Me"
Activeworkbook.close Savechanges:=False

--
Regards,
Tom Ogilvy


"guz" wrote:

How can I create an VBA macro so that I can email a sheet within a workbook
to multiple users



All times are GMT +1. The time now is 12:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com