ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Code to send a email via Macro in excel (https://www.excelbanter.com/excel-discussion-misc-queries/244108-code-send-email-via-macro-excel.html)

Sunil Somani[_2_]

Code to send a email via Macro in excel
 
Dear All,

I have one excel workbook with few sheets, in which I am copying out some
data/records from one sheet to another , based on certain conditions, using a
macro.

Now I have to send notifications via EMAIL to users , let say If there was
any error during above processing or If no error how many records copied
successfully.

I have to count value stored and perhaps error code also can capture. But
how to send those details in a mail , I am struggling to find out.

Kindly advise.

Thanks in advance,
Sunil Somani


Stefi

Code to send a email via Macro in excel
 
Ron helps you:
http://www.rondebruin.nl/sendmail.htm
Stefi


€˛Sunil Somani€¯ ezt Ć*rta:

Dear All,

I have one excel workbook with few sheets, in which I am copying out some
data/records from one sheet to another , based on certain conditions, using a
macro.

Now I have to send notifications via EMAIL to users , let say If there was
any error during above processing or If no error how many records copied
successfully.

I have to count value stored and perhaps error code also can capture. But
how to send those details in a mail , I am struggling to find out.

Kindly advise.

Thanks in advance,
Sunil Somani



All times are GMT +1. The time now is 06:18 AM.

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