Posts by mvj1996

    Re: Compare 2 columns in different sheets, and Copy entire rows into new sheets


    I found My Error. I had to add .EntireRow.Copy. It works now.


    Hello All,


    I'm trying to compare two columns in one sheet with two columns in another sheet. I want to show the unique items in the comparison in a new sheet. I want to copy the unique items to two new sheets.



    Example: compare columns C & Z in sheet 1 with columns C & Z in sheet 2. the differences of what's on sheet 2 , but not sheet 1, post to a new sheet, and the differences of what's on sheet 1 but not on sheet 2 post into a new sheet.



    The code below works, but it is not copying the entire rows. It is pasting the results in column A of the new sheet, but it is starting with column C and not copying data in columns A & B.



    Re: Add Links to HTML emal body content


    Quote

    I'm still stuck with adding links to HTML email body. I need to have a string of content and then have two links with friendly names as "click here", and then a closing message. Any suggestions? I think there is something wrong in how I captured the links. The email displays with recipients, but does not display the body of the message or links. Thanks in advance for any assistance.


    Hello All,


    I am attempting to create a email macros with links and body text. I have 3 hyperlinks that I need to include at different points in the body content. 2 to show Text To Display "Click Here", and one to an email DG. Any suggestions.


    I attached my HTML body content below, and put placeholders in the spot I need to attach a link. I can't seem to figure out the best way. I have tried <a href="mailto:[email protected]">Send me an email</a>.


    Code
    strbody = "RESPONSE REQUIRED BY WEDNESDAY OF EACH WEEK." & vbNewLine & vbNewLine & _                    "Confirmation of the occurrence or non-occurrence of an XYZ Event Tracking is required weekly. You are receiving this email because      you are listed as a contact for one or more active account." & vbNewLine & _                    "To respond: [Link Here]." & vbNewLine & _                    "To access process training materials: [Link here]." & vbNewLine & _                    "For questions not covered in the training materials, send your email to: [Email Here}." & vbNewLine & vbNewLine & _


    Re: Transpose unique values


    Thanks again for your help. I am new at this and had been struggling for hours.


    I do have one last question. Is there a better way to add a link into the body of an message for a email? I copied and paste the address in the message, but would like to name the link or paste it to where the link thread is not showing in the email.

    Re: Transpose unique values


    Quote

    Thanks Trevor. Those additional steps worked perfectly. I appreciate your help.


    Re: Send email to multiple recipients


    Thanks Trevor. I actually combined info from two scripts together. It displayed the email, but pulled in duplicate addresses. I need to transpose unique email addresses. Some recipients addresses appear more than once in the file. Any Suggestions?


    Re: Send email to multiple recipients


    Thanks Trevor76. I was able to get it too work. However, it is pulling in duplicate email addresses. Any suggestions with transposing unique values.


    EmailTo = Join(Application.Transpose(Worksheets("SharePoint").Range("AA3:AA65536").Value), ";")
    CCTo = Join(Application.Transpose(Worksheets("SharePoint").Range("AC3:AC65536").Value), ";")

    I'm trying too write this code to pull only unique values. Any suggestions?


    EmailTo = Join(Application.Transpose(Worksheets("SharePoint").Range("AA3:AA65536").Value), ";")
    CCTo = Join(Application.Transpose(Worksheets("SharePoint").Range("AC3:AC65536").Value), ";")

    I'm trying to create the code below to send emails to multiple recipients listed in a worksheet column and CC recipients in another column. I don't get an error, but it is not displaying nor sending the email. I'm missing something somewhere.