outmail

  1. C

    Declare Email Address to Send FROM

    Objectives: Auto-create and email in display mode where the FROM, TO, SUBJECT and some of the BODY are auto-populated * FROM: AMLC@emailaddy.com * TO: Maria@emailaddy.com * Store copy in SENT folder for the AMLC mailbox Problems: * I cannot get the FROM to stop defaulting to the user's...
  2. D

    Generating email using VBA

    Hi all it's me again, I'm using some code from Ron De Bruin's site to generate an email using the following code Sub Mail_small_Text_Outlook()'For Tips see: http://www.rondebruin.nl/win/winmail/Outlook/tips.htm 'Working in Office 2000-2016 Dim OutApp As Object Dim OutMail As Object...
  3. T

    Problem Adding Email Signature

    Hi all, I have the following code and all is working ok, apart from it is no longer adding my set signature in Outlook . If possible could you have a look and amend as required. Sub ScorecardPdfEmail() Dim OutApp As Object, OutMail As Object Dim fname As String, sendto As String...
  4. T

    Call Command Looks For Sheet & If Not found End Sub

    Hi all, I am after some help, I use the following code to call a sheet and then produce it as a PDF, then it sets up the email ready to send - this is setup for 200 sheets and rather than make the button call up on active sheets where I have not used ' to negate the call. Is there a way of...
  5. M

    VBA Outlook and Word Library - Late Binding help

    Hi Team, Please assist in converting below outlooks and word library code to late binding. Below is attempted Code. Sub Outlook_Late_Binding() Dim OutApp As Object Dim OutMail As Object Dim ProcurementStatusSh As Worksheet Dim WorkStatusSh As Worksheet Dim...
  6. C

    Endless loop in Email macro - OLE action?

    Hi everyone, Need some help with the following macro <code/>Sub Mailer(SendTo, CcTo, Subj, TxtBody) Dim OutApp As Object Dim OutMail As Object On Error Resume Next Application.DisplayAlerts = False ActiveWorkbook.Save Application.DisplayAlerts = True Set OutApp =...
  7. J

    Email visible entries only (filtered) with VBA

    Hi all. I am unable to attach files for some reason (it says I do not have permissions to) so, please bear with me. I have created a sheet that looks like this: https://imgur.com/a/7pnr4M1 I have the following VBA doing the job: Sub EmaiList() Dim OutApp As Object Dim OutMail As...
  8. S

    email help with adding content

    Hi All So trying to create an email, see code below, in particular the red text. I have data in columns N,O,P. but this can vary each time from 1 row to 30 rows. My example below showing 5 rows. What im wondering is if somehow i can loop, however many rows there happen to be per macro run...
  9. R

    Blank Lines in Email Body

    Hello all, I have a code to generate a outlook email based on cells. I can generate the email fine but for some reason I have two blank lines between the email body text and my signature. Another slight problem is the font size. When I define to 11, it shows as 10. I tried to change to 12 and...
  10. N

    Want to add multipul mail Id in To. List

    Hi Friends, I have prepare the code for Outlook office 365 window My criteria is one of file is save in my system C:\Drive and this file attache in mail and send to the team member . My code is working if I send only one person, Not working on multiple mail Id , please help for resolve this...
  11. R

    vba to copy entire data to email

    Hi - I get VBA macro to copy data in worksheet to email body from rondebruin. But the code only copy the data and table without charts. Is there any way to copy all the data including charts? Sub Mail_Sheet_Outlook_Body()'For Tips see: http://www.rondebruin.nl/win/winmail/Outlook/tips.htm...
  12. Z

    ListBox error

    Hi, On my userform I have a ListBox that is auto generated based on a list on my main worksheet. From the list on the userform the user can select which people they want the file to be sent to. The code I wrote loops through each of the users in the ListBox to see which ones are selected. If...
  13. K

    Format Email - HTML in VBA

    Hi! I have a VBA code to send emails through outlook, however I am having trouble formatting the body of the email. Whenever I put words in or try to insert breaks I am getting a "Compile Error, Expected: end of statement". I'm not sure what the way around this is, or how I can just paste my...
  14. Z

    Compile error: Next without a For statement

    I'm getting a compile error "Next without a For statement". I got the code from an outside source and was wanting to make it work with what I'm doing, but I can't seem to solve the error. I guess it has to do with the construct of the nested if...then...else...statements. The procedure is...
  15. D

    cant find projkect or library

    im trying to add some code to a spreadsheet, but even a simple thing like range("a1") = date triggers the error "cant find project or library" also, because of this error, i can't even insert a signature to the vba e-mail macro depsite doing this per...
  16. K

    VBA Code

    Hi! I have a code that will send emails based off of a list in excel, however the attachments have not been working. The Excel workbook is set up in this way: Column A: Email Column B: Body Column C: Attachment 1 Column D: Attachment 2 Any help would be greatly appreciated! The code is below...
  17. A

    Disable the mail security dialog box to send/not send the mail Excel VBA

    Hi, looking for some help. A macro is written in Excel VBA to send email through Outlook. I am getting an error, A program is trying to send email on your behalf. Please note that this macro will run on multiple systems where Outlook 365 is installed. In outlook 365, there are restrictions to do...
  18. M

    Selecting Data to be emailed in VBA code based on cell color

    Please forgive not asking the right questions, but I have created a basic inventory form that I have triggered to email be based on a cell color being = to 255(red). I have column (A) conditionally formatted to fill red when the Inventory(D) drops below the Reorder point(C). As each line item...
  19. J

    Modifying Code to Send E-mail

    I have a daily report I need to send to my manager. Right now, my report has code to copy A1:F30 so I can paste the data into an e-mail. How do I modify this code so that I only copy rows with data instead of A1:F30? Sub Send_Email() On Error Resume Next Dim OutApp As Object Dim...
  20. R

    Excel -> Outlook embedded image

    Hi guys, I'm having some hard time with the following. I have a For - Next loop in Excel that generates an Outlook MailItem drafts with embedded image using ContentID. Dim outApp as Object Dim outMail as Object Set outApp = CreateObject("Outlook.Application") For i '..... blah...

Some videos you may like

This Week's Hot Topics

Top