+ Reply to Thread
Results 1 to 3 of 3

VBA equivalent of Excel HYPERLINK function

  1. #1
    Registered User
    Join Date
    03-16-2020
    Location
    South Africa
    MS-Off Ver
    MS Professionsl Plus 2016
    Posts
    2

    Lightbulb VBA equivalent of Excel HYPERLINK function

    Hi,
    I'm looking for the VBA equivalent of the Excel HYPERLINK function.
    I need to attach a pdf to an email using the default email client (including the recipient's email and subject line) and allow the user to add information before sending the email.
    This will allow user intervention but importantly, also not impact the email client's security.

    Any guidance and help is appreciated.
    Thanks

  2. #2
    Forum Contributor
    Join Date
    05-09-2021
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    148

    Re: VBA equivalent of Excel HYPERLINK function

    Hello DP13,

    Do you want a hyperlink or attach?

    For attaching documents:
    Please Login or Register  to view this content.
    Source: https://wellsr.com/vba/2018/excel/ex...th-attachment/

    For creating a hyperlink, you would have to make sure that your email is in HTML format and then create the a HTML link.
    Please Login or Register  to view this content.
    Source: https://www.w3schools.com/html/html_links.asp

  3. #3
    Registered User
    Join Date
    03-16-2020
    Location
    South Africa
    MS-Off Ver
    MS Professionsl Plus 2016
    Posts
    2

    Re: VBA equivalent of Excel HYPERLINK function

    Hi MrChulo,

    Thanks for your advice.
    I need to attach a pdf to a new email in the default mail client (not always Outlook) and then display it - not auto send.

    Most of the users have gmail and I don't want to get their passwords and the settings to enable the usual VBA methods.

    The Excel HYPERLINK does what I want but I need to attach a pdf, not the current worksheet.
    Is there a way to emulate it with VBA and then change the addition of the current worksheet to adding a pdf in a folder?

    Regards

+ 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. [SOLVED] EXCEL Function equivalent to Current Region
    By PravinKumarRaja in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-21-2020, 12:53 AM
  2. [SOLVED] Equivalent to java break(); function in basic excel formulas?
    By Sprong in forum Excel General
    Replies: 2
    Last Post: 05-21-2019, 06:07 PM
  3. [SOLVED] Excel/VBA equivalent to DateAdd() function
    By Bezzie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2015, 01:53 AM
  4. Access Equivalent of this Excel VBA Function?
    By mccrimmon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2012, 06:34 AM
  5. Replies: 3
    Last Post: 02-03-2010, 01:32 PM
  6. Need LEN(TRIM()) equivalent one excel function
    By suman.biswas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-05-2008, 04:02 AM
  7. Equivalent of countifs function for Excel 2003?
    By oneyejack in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-29-2007, 12:51 PM

Tags for this Thread

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