+ Reply to Thread
Results 1 to 5 of 5

Using a Hyperlink to send email

  1. #1
    Registered User
    Join Date
    05-04-2007
    Posts
    15

    Using a Hyperlink to send email

    Hello~

    I'm creating a form for BASIC users. I used to rely on macros to move about forms, etc... however, because everyone at my company seems to have high security settings i think it will cause more issues then help.

    I started to use hyperlinks. Here's the problem. I can get a hyperlink to create an email - (to the correct address and from the user- which is VERY important and i couldn't get it to do it with a macro)... however, i can't figure out if i can attach the form using a hyperlink as well.

    This will BE HUGE if i can get it to work... please help!!!

    THANK YOU!!
    Last edited by VBA Noob; 10-29-2008 at 02:33 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello LLori998,

    Since you are using a Hyperlink to connect with the default email program, you are limited to what you can do. Attachments have to be done by a macro. There is a way around the security issue with email. Rather than using the MailTo protocol, you can send attachments without a security warning by using Collaborative Data Objects or CDO. Click the link below to learn about it.

    http://www.rondebruin.nl/cdo.htm

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    05-04-2007
    Posts
    15
    Quote Originally Posted by Leith Ross View Post
    Hello LLori998,

    Since you are using a Hyperlink to connect with the default email program, you are limited to what you can do. Attachments have to be done by a macro. There is a way around the security issue with email. Rather than using the MailTo protocol, you can send attachments without a security warning by using Collaborative Data Objects or CDO. Click the link below to learn about it.

    http://www.rondebruin.nl/cdo.htm

    Sincerely,
    Leith Ross

    Thanks for the reply - so basically the only way around this is to use a macro? The security settings on the majority of the employees will require them to chang their macro security... which will cause issues. the employees get the macro security warning as soon as they open the document, not after they click on the macro.

    ugh

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    Correct.

    To send an email with an attachment would require use of VBA in Excel.

    The previous poster was also saying that you will find that if using Outlook - when you try and control Outlook with it's own Object model from Excel you will get security warnings in Outlook (as something is trying to control it remotely) -- by using CDO method as opposed to Outlook Object in Excel VBA you can avoid the Outlook security warnings.

    However going back to your original point - you will need to use Excel VBA to generate an email with an attachment... if you believe this is not viable for you then you are I'm afraid stuck.

    If you change your security settings to Medium, close XL and re-open are the security settings reset to High ?

  5. #5
    Registered User
    Join Date
    05-04-2007
    Posts
    15
    hello,

    thanks for the response... no, once the security settings are reset, there are no issues with it going back to high... .however, to teach 3500 call center, field guys how to do that... might be 'not worth the time'.

    it's prolly easier to tell them how to save and send an attachment.


    thanks for the help!

    Lori

+ 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