Address mails from excel
You want to know how to address emails from Excel!
There are a few ways to do this, depending on your email client and the version of Excel you're using. Here are a few methods:
Method 1: Using Excel's built-in email feature
- Select the cells you want to email.
- Go to the "Data" tab in the ribbon.
- Click on "From Excel" in the "Actions" group.
- Select your email account from the list of available accounts.
- Enter the recipient's email address in the "To" field.
- Add a subject and any additional information you want to include in the email.
- Click "Send" to send the email.
Method 2: Using VBA (Visual Basic for Applications)
-
Open the Visual Basic Editor by pressing "Alt + F11" or by navigating to "Developer" tab in the ribbon and clicking on "Visual Basic".
-
In the Visual Basic Editor, create a new module by clicking "Insert" > "Module".
-
Write the following code:
Sub SendEmail() Dim olApp As Object Dim olMail As Object Set olApp = CreateObject("Outlook.Application") Set olMail = olApp.CreateItem(0) With olMail .To = "recipient's email address" .Subject = "Subject of the email" .Body = "Body of the email" .Send End With Set olMail = Nothing Set olApp = Nothing End Sub
-
Replace "recipient's email address", "Subject of the email", and "Body of the email" with the actual values you want to use.
-
Save the module by clicking "File" > "Save" (or press "Ctrl + S").
-
Go back to your Excel worksheet and click "Developer" tab in the ribbon.
-
Click on the "Run" button (or press "F5") to run the macro.
Method 3: Using a third-party add-in
There are several third-party add-ins available that allow you to send emails from Excel, such as SendEmail or Excel Emailer. These add-ins often provide more features and customization options than the built-in email feature or VBA code.