outlapp

  1. R

    Run-time error '91': Object variable or With block variable not set

    Hello, We are seeing this error only on one computer. All 6 pc's are running same version Excel 2016. When we execute the macro below the error occurs at the "With OutlApp.CreateItem(0)" area. Any ideas? Thank you Sub AttachActiveSheetPDF() Dim IsCreated As Boolean Dim i As Long Dim...
  2. B

    Expanding an old VBA script for send Excel-sheet as PDF on e-mail

    Hi! I have been browsing the forum and found a very good code for sending an excel sheet as PDF on e-mail by a user ZDI (?). I modified it a bit - picking cell-references into the body text of the e-mail, subject and To/Cc fields. The code looks like this now: Sub AttachActiveSheetPDF() Dim...
  3. M

    Paste a range of cells into Email Body AS AN IMAGE - VBA

    Hi all I am using the below code to send a PDF to a group of managers. I want to include in the email body, a summary table from one of the tabs. I want paste as an IMAGE as this keeps all of the formatting and size ratio that makes it easy to read. The source tab is called DATA and the...
  4. M

    I need to send email formed from excel with table or if cells are blank when delete and go to another cell

    Hello, i need to form body text from excel to send via outlook. One problem, that sometimes in can be 10 names and surnames, or it can be 5 names and surnames. After list goes normal text and signature. I have this one, from K20 goes fixed text, but from K12 until K20 goes list of people...
  5. M

    How to bold one line in email sent via vba with outlook

    Hey, I have this code. But I need to bold text from cell K14 and change color of cells K21-K25. How can I do that? Please help :( Sub SendMail() 'SendEmail Macro ' ' Dim outlApp As Outlook.Application Set outlApp = CreateObject("Outlook.Application") Dim outlMail 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