+ Reply to Thread
Results 1 to 2 of 2

VBA code - automatically open outlook to send email

  1. #1
    Registered User
    Join Date
    08-03-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003
    Posts
    15

    VBA code - automatically open outlook to send email

    Hi,

    I have created a button that will copy a sheet into the content of an email. However I have noticed that if the user does not have Outlook open, it will not send an email. Is there a way I can program the code to automatically open Outlook? The other issue that may arise is that some users will need to input their email password if it isn't already open. Below is the code I am using:

    Please Login or Register  to view this content.
    Thanks
    Last edited by LindaABH; 09-06-2012 at 01:51 AM.

  2. #2
    Registered User
    Join Date
    08-03-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: VBA code - automatically open outlook to send email

    Ok well answered my own question.

    Just add

    Shell ("OUTLOOK")

    After the 2nd line (ActiveSheet.Unprotect)

+ 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