outapp

  1. K

    Looping through a set range and email an attachment

    Hi, I am struggling to loop through my sent range to send an email via outlook with attachments. so far I have coloum N email 1 email 2 email 3 email 4 email 5 Sub projtodat ()Dim OutApp As Object Dim OutMail As Object Dim Rng As Range Set Rng = Range(Range("N2"), Range("N2").End(xlDown))...
  2. D

    Fails to Attach file

    So this is a piece of code, that runs in a different workbook, as part of the same system, perfectly fine. However will not function as required in this workbook. This doesn't throw an error, but when hovering over "ActiveWorkbook.FullName" in the .Add code, it shows as <automation error=""> I...
  3. Pinaceous

    vba send email with attachment question

    Hi All, I'm using this code to generate an email to send: Sub sendemail() Dim FileExtStr As String Dim FileFormatNum As Long Dim Sourcewb As Workbook Dim Destwb As Workbook Dim TempFilePath As String Dim TempFileName As String Dim OutApp As Object Dim OutMail As...
  4. J

    Copy cells from a worksheet and paste it into Outlook

    Hello I would like to take the data from my workbook and copy and paste these data into an email in outlook. I have that code already but it does not seem to be enough. Sub Mail() Dim OutApp As Object Dim OutMail As Object Set OutApp = CreateObject("Outlook.Application")...
  5. A

    VBA - Mail whole workbook to multiple people seperately

    Hello Hello Excel Geniuses I have found MANY answers to the first part of my problem..... I would like to email my full workbook to multiple users [solved] BUT...I would like to e-mail it to each individual separately..... the below is working for multiple and 1 e-mail recipient if you are...
  6. V

    Single Active CTRL Button to send email basedon Row

    Hi guys, I am trying to send an email from excel 2013 based on the data in the spreadsheet. I currently have an active button on each row with a macro assigned. This works perfectly, however, I would like to be able to only have one button per sheet that will create the email based on the...
  7. H

    Macro not attaching Current workbook

    I have the following code, which works fine, except that the active workbook is not being attached to the outlook email created Kindly amend my code Sub Email_Report() ThisWorkbook.Activate 'start in THIS workbook ztext = [bodytext]...
  8. A

    How to attach with excel file that was automatically deleted the excel sheet during sending an email

    Hi guys, Good day. Can you help me on this. When I click the command button the outlook mail will automatically appear with an attachment, however I want the excel sheet on that excel file have been deleted(Sheet 1 or 2). Code: Dim OutApp As Object Dim OutMail As Object Dim...
  9. G

    Spreadsheet doesn't attach to e-mail when sent

    Hi all, I have a button on my spreadsheet that is supposed to allow the user to send it as an attachment to a specified address once the user has filled out some required fields. Tee problem is that the e-mail message is generated and sent successfully, but the spreadsheet is not attached...
  10. G

    Adding conditions before a form can be e-mailed

    Hi, I have written a VBA macro that will mail a form to an address. see below. I want to add a statement that will prevent the form form being emailed and give an error message if certain fields are not complete - A4, B6, C12. Any suggestions? Sub Mail_small_Text_Outlook() Dim OutApp As...

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