outlook & vba

  1. D

    VBA Code: Table Column Formatting for Outlook Email

    Hello! I'd like to ensure the formatting for the table referenced in the RangetoHTML Funtion keep both Date format for the first column, as well as keeps column width to fit the largest text within each column. Does anyone have pointers or code to accomplish this? Sub CreateEmailFromExcel()...
  2. E

    VBA + Outlook

    Guys, good morning/afternoon/evening, I'm having an issue with Excel VBA while automating an email send-out. My code sends approximately 17/18 emails and then crashes with the following error: I'm not sure what might be happening, can you help me? I don't think it's Microsoft limiting the...
  3. P

    DeferredDeliveryTime help

    I'm a newbie at VBA and don't know what i'm doing wrong. I'm simply trying to delay delivery on bulk emails by adding the following line to an existing code someone else had helped me with. msg.DeferredDeliveryTime = "12/14/2023" & "11:20:00 AM" My full VBA code is as follows, but I'm...
  4. P

    Stop code from automatically sending Email through Outlook

    Not a VBA expert, AT ALL. I searched for a code to automatically send emails from Excel through Outlook. However, is there a way to stop the code from automatically sending them, and instead create the email pop-up and if all looks good, then I manually click Send? Sub Send_Bulk_Mails() Dim...
  5. J

    Visual basic code for email reminders

    Hello guys, How can I make excel send email reminders in outlook based on the given dates In one column. I would like to make it send the reminder with 6 months in advance, do you have any ideas? I have seen it is possible to do so with visual basic but I do not know how to code.
  6. 2

    Code to Check Outlook User's Organization

    Hello! I know its possible for VBA to send emails via Outlook. Is it possible for the code to view an individual's organization/boss and copy that value into a cell?
  7. N

    2 QUESTIONS - DATE SEARCH AND OUTLOOK CALENDER

    Hi all, I am very new and very inexperienced, I hope someone can help me. I have 2 questions see below first one: I want to find duplicate dates for my database, but not working. I want to show how many duplicates too. Private Sub Textbox3_afterupdate() Set rng = Range("E2:E3000") Dim ws As...
  8. Gideon du Toit

    Library Not Registered when Opening Outlook from Excel 2010

    Good Day Everyone, I have been developing an Excel app that at some point has to open Outlook. Until a few days ago this was working fine. I am using Office 2010 for the development since it works nicely for backward compatibility. I also had Office 365 on this machine but decided to remove it...
  9. M

    VBA outlook choose email

    Is there a way to prompt the user to choose an email just like pickfolder?
  10. J

    VBA Macro - Adding Outlook HTML signature and Referring specific cell for email body text

    Hi guys, I am trying to add my Outlook signature that has an image with text (i.e. HTML format) and refer specific cell (i.e. .HTMLBody = Range ("B5"). Value) using Macro to return the Outlook Signature with Email body text that is written on cell B5. I used Ron de Bruin's code (Insert Outlook...
  11. 2

    VBA Copy Data from Sheet to Email depending on Assignee

    Hello! I currently have a Macro that creates an email for each row of data, then copies and pastes that row into the email. Each row is assigned to an individual (receiver of the email),, but sometimes, the same individual is assigned to multiple rows. I wanted to see if I could change up the...
  12. E

    Autorun VBA, send specific values to Outlook

    Good day everyone. I am trying to make this code run so every time I open it so excel automatically checks for expired equipment, put message about it and then send it to Outlook. Ideally i want all outdated equipment to be listed in email too. For example if equipment flagged already as...
  13. M

    Add text from specific cell into body of email

    Hi, I am basically trying to add text from a cell into the body of my email, I have tried doing it myself but have no luck in getting the text to appear. I am looking to include cell reference D48 from the 'D&P' tab of the current worksheet, and ideally the text from the cell would be be...
  14. 2

    VBA Outlook Signature Formatting

    Hello, I am attempting to insert my default signature at the bottom of some automatically generated email. The contents of my signature have been copied, however, it lost the formatting. Here is the code I used. Set OutApp = CreateObject("Outlook.Application") Set OutMail =...
  15. A

    Downloading Attachments using Macro

    Hi all, I have a macro which downloads attachments based on a given Download Path (F1), Date Range (F2 & F3), Attachment extension/ type (F5), Main Folder Name (F6) and Sub-folder name (F7). I want to be able to download attachments in a specific folder in my mailbox but it doesn't work when I...
  16. V

    VBA for send email in excel

    Hello, i need some help for VBA in my excel i would like to draft in my email in this format from my excel here the example to be send to the emails To: [Send Email To] CC: [CC To] Subject: [Doc. No.] Require Your Attention - [Error Message] Dear Sir/Mdam, We would like to inform the...
  17. A

    Outlook VBA to count emails in inbox by Subject and send to an Excel spreadsheet

    I use the code below to count emails by Sender and send to a new Excel sheet. I would like one that will count emails in the inbox by subject line, excluding characters at the beginning (e.g. {EXTERNAL}, RE:, FW:, etc.), and send those to a new Excel sheet. Any suggestions? Sub...
  18. M

    Code to create email with screenshot below email body

    Hi, I have created a code in excel to create an email with a link and paste a screenshot within the email but im having trouble pasting the screenshot below the email body (ideally i would like it a line below the hyperlink, probably a stupid question but is there a way to ammend the code so...
  19. E

    Query in excel to Outlook mail take rows with name until next name

    Dear all, Im trying to avoid sending mails out every week with new tasks for people. Therefor i try to create a code that can look at my query data and sent it to the correct person in outlook. I would like to make a code which takes the header and table data for rows with specific name and...
  20. M

    Help on a Old thread that I cant find a resolution to.

    I am on office 2019 and I have been trying to automate my emails to an excel sheet as part of a Ticket System, I know absolutely zero VBA and have just been trying to cobble something together off of some old posts. All the different vba code I have tried keeps creating a copy of my workbook...

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