+ Reply to Thread
Results 1 to 4 of 4

Hyperlink Function: Mailto with Body containing linebreaks

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    United States
    MS-Off Ver
    excel 2007
    Posts
    2

    Hyperlink Function: Mailto with Body containing linebreaks

    Hi guys,

    I have list of email addresses in plain text that I want to send emails to in a spread sheet under column C, I would like to create a body saying the following:

    Hi (Name taken from column A)

    I contacted you back in (date pulled from Column J) and I wanted to follow up with you

    so far i have the following formula to put into a separate column, but i can't figure our how to add a line break, and after that how to pull the date from column J

    Anyone here that can help me out here?

    Im using Excel 2008

    =HYPERLINK("mailto:"&C4&"?&subject=Circling Back&Body=Hi "&A4&",

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Hyperlink Function: Mailto with Body containing linebreaks

    hi, Elipapa, welcome to the forum. you can have a read at this write-up i did. if you require direct help, do upload an example. to upload, press "Go Advanced" beside the "Post Quick Reply" button & click on the paperclip icon
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-07-2012
    Location
    United States
    MS-Off Ver
    excel 2007
    Posts
    2

    Re: Hyperlink Function: Mailto with Body containing linebreaks

    I've tried copying everything in the write up you posted Beni, but it doesnt look like its working yet. My mail program still posts a %0D or a %0A whenever I click on the created Hyperlink.

    Ive posted an example of what I'm trying to do in this spreadsheet. eventually I also want to have cell references in the email body as well for first name and date contacted. but that is another topic

    is the fact that I'm working on a mac relevant to the reason why i'm having this problem?

    Email with Linebreaks.xlsx

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Hyperlink Function: Mailto with Body containing linebreaks

    I think your are looking for something like

    ....&CHAR(10)&...

    Char(10) will return the LineFeed code

    Hope that helps
    -Edit-
    or maybe
    ...&CHAR(13)&... (Carriage Return);
    or
    ...&CHAR(10)&CHAR(13)&..(LineFeed and CarriageReturn);
    or, on some cp/m based sytems, it could be
    ...&CHAR(13)&CHAR(10)&... (rare, but possible)
    Last edited by dredwolf; 11-13-2012 at 12:23 AM. Reason: not sure how your system interpets (End Of Line (EOL))
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1