Send mail from Excel

sithica

New Member
Joined
Feb 17, 2021
Messages
1
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hi,
Able to send mail using VBA code from Excel sheet using outlool. But I want to send mail without opening the excel sheet, using scheduler.( Excel sheet contain code with validation)
How can I make it? kindly help
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
When you say you want to send the email without opening the spreadsheet, what about opening the Excel application (and not the workbook)? In any event, if you're going to be sending the emails by using Outlook, why not just use Outlook VBA? It would be nearly identical code (depending on your position about opening the Excel application).

Failing all of that, yes it is doable - you could always use VBScript, access the data in the spreadsheet with ADO (assuming it has to be saved in XLSX format and that you couldn't save it in CSV), and then send the emails through CDO. It all just depends on how involved the code will become. Let me know re: my questions above, and subject to any suggestions anyone else might have, I can give you a steer.
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,696
Members
449,048
Latest member
81jamesacct

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