+ Reply to Thread
Results 1 to 2 of 2

Setting up Hyperlink in Excel which opens Outlook window with body text

  1. #1
    Registered User
    Join Date
    11-11-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    1

    Setting up Hyperlink in Excel which opens Outlook window with body text

    Hi Everyone,

    New here and a beginner/intermediate user of excel with zero VBA experience. Would really appreciate the help with something I am working on, and hopefully it is quite an easy question to answer...


    I want to set up a Hyperlink in Excel for when someone wants to report an error in an Excel workbook.
    They would spot the error, and then click the Hyperlink e.g. "Report an Error", and this would open an outlook window with pre-loaded email addresses, subject, and body.


    I have managed to do this for email addresses and subject using the 'Insert > Hyperlink' function in Excel 2016, but this does not give the option to enter body text.

    I believe the following 'code' would provide me with what I need (although please correct me if incorrect):

    <A HREF="mailto:[email protected]?subject=[REPORT] Error in Model Template&body=File path:>Tab Name:> Cell Reference:> Explanation of Error:</A>


    ... which I hope would appear as below:


    To: [email protected], [email protected]

    Subject: [REPORT] Error in Model Template

    Body text:

    File Path:
    Tab Name:
    Cell Reference:

    Explanation of Error:


    Would really appreciate assistance with correcting/refining the code, and also how I turn the code into a Hyperlink in Excel.

    Many thanks,

    MavJ

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello MavJ,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Set the size of the window a hyperlink opens in
    By ron_th in forum Excel General
    Replies: 3
    Last Post: 10-30-2014, 01:48 AM
  2. [SOLVED] how to add hyperlink to outlook body message
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-30-2013, 05:52 PM
  3. Replies: 0
    Last Post: 05-10-2013, 05:40 AM
  4. [SOLVED] Copy hyperlink from outlook email body and export to excel
    By addytiger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2012, 03:17 PM
  5. Replies: 0
    Last Post: 01-16-2012, 02:45 PM
  6. Alt+Print Screen then Opens new Outlook Mail Message and Pastes into Body of Email
    By Alex Pipes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2010, 06:53 AM
  7. Stumped with VBA and Script Editor (hyperlink that opens new window)
    By trentonm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2009, 02:34 PM

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