html body

  1. N

    .HTMLBody not working

    Hi, I was using this code for the past 4 months to send email by setting up a template for the main body so that my template is intact in HTML format with my signature and link but it stopped working today. Can anyone help? Option Explicit Sub Send_email_fromexcel() Dim EApp As Object Set...
  2. I

    Email via VBA in Excel

    Hello, so I want the following thing to add to this (I am very new to VBA and learning this since last friday): - Send Mail from a specific Mail adress (emailItem.To does not work here) - Have a Signature automatically drafted e.g. when I click the Checkmark the Mail Editor opens but my...
  3. 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...
  4. 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 =...
  5. Jyggalag

    Change my email macro to email multiple recipients in different rows

    Hi all! I currently have this setup in Excel: And the code is this: Option Explicit Private Const FilePath As String = "\\COMPANY.MSAD.COMPANY.NET\userdata\t543932\home\Documents\TESTfolder\" Sub send_email_complete() Dim OutApp As Object Dim OutMail As Object Dim i As Long Dim...
  6. Jyggalag

    Attach subject of email to a cell value?

    Dear all, I currently have this VBA code (please note the part highlighted in bold): Option Explicit Private Const FilePath As String = "\\COMPANY.SSSS.COMPANY.NET\userdata\t5382304\home\Documents\TEST folder\" Sub send_email_complete() Dim OutApp As Object Dim OutMail As Object Dim i...
  7. A

    null Body.HtmlBody in Power Query Exhange Email pull

    HI, I'm trying to retrieve email content from outlook into Excel. The emails have tables and I would like to reference the table data. But I am not getting html body data, but I am getting everything else. Is there a potential quick win to fix this? Thanks, Andrew
  8. F

    How can I convert only the text WITHIN excel cells to HTML code.

    I work in copywriting and one of the columns in the lay outs we do require HTML code (for the products we upload to our webpage), but if I copy an entire column to an HTML converter it will obviously turn the table to HTML too. Is there a way or a webpage that can change ONLY the text within the...
  9. M

    This was working but now it isn't... HELP? Now I just get a Run Time Error.

    I created a button that takes selected table, copies and pastes it into an email between a note & my HTML signature. Here is the code that was working yesterday but isn't today. ???? Sub Mail_Outlook_With_Signature_Html_1() Dim outlook As Object Dim newEmail As Object Dim xInspect As...
  10. W

    e-mail sheet in html and attach a spreadsheet

    I use Office 365, Windows I would like to send an e-mail with one sheet as a body html, and another sheet attached to it. Was able to find online two vba codes by Ron de Buin working on their own, and I was able to merge them together. The only problem I am facing is that the HTML part is...
  11. S

    Importing Image into Excel Worksheet With HTML Code Elements

    Hello, I'm looking to import a few images into my excel file and I plan on importing the picture by calling the pictures based on their html elements. The image html code: <img chart-id="2669" alt="Chart ID 2669" class="chart-img" src="https://website.com/569134694870.jpg"...
  12. Dave_O

    VBA: Excel Uppercase words between HTML <strong>

    Hello, I am saving a website's source code as a text file, then importing it into a worksheet. I currently use a UDF to vbCrLf existing Uppercase word's, but I would like to make all words Uppercase between <strong> .....<\/strong> I am OK with either VBA or UDF. SAMPLE: As is...
  13. E

    Innertext the "src" address using MSXML2.xmlHttp

    I’m trying to innertext a specific "src" address using MSXML2.xmlHttp. But, when I try sending the request with xmlhttp I get no error but it also give me nothing in return. How can I solve that? Sub WebData() Dim obj As Object, resp As String With CreateObject("MSXML2.xmlHttp")...
  14. J

    HTML using VBA for body of email

    Hello, I am trying to insert HTML code for the first time in my VBA to help format the body with bold, font, number point, etc. I found a nifty site (https://www.quackit.com/html/online-html-editor/) that allows me to build what I want the email body to look like and then it gives me the HTML...
  15. S

    Copy cell value(hyperlinked)from excel and paste to email body

    Dear All, I am trying to copy cell value, which has linked to website,from Excel sheet and paste it into email body. While all other paste functionis working however hyperlink is not pasted so I am not able to select the cell. Please see the below code: .HTMLBody = "Dear " + Cells(i, 8) +...
  16. M

    HTML Address scrape

    I am attempting to grab pieces of address info off a website however, I'm not able to grab the correct data: I want to be able to grab the Street as on variable, city and state as another, and finally the zip. Here is the html code I am trying to scrape: ==$0 ...
  17. N

    Send HTML email through Excel and Outlook 2016 with default signature

    Hello everybody, OK, here's the thing, I know how to send the email, problem is, when I try to add the DEFAULT signature. If I leave it as is, the body doesn't show up, and when I get it to show the body of the message, the signature won't come up. Sub Mail1() Dim...
  18. J

    Email excel with color

    Hello, this is my first post so I apologize if i make any mistakes I have the following code that emails the status of a workbook so there is some HTML and VBA coding. I am very new to coding as well, learning as I need. When the macro runs it brings back a number in cell B7, though this number...
  19. F

    Can't Find Bug in Excel to Outlook VBA Code

    Hello! I have a code that is essentially copy/pasting excel data to the body of an Outlook email. It works correctly 90% of the time, but I have had some users experience issues with ONLY the headers copying over to Outlook (no input data) and then the Excel spreadsheet data is cleared out. What...

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