+ Reply to Thread
Results 1 to 4 of 4

Email from Excel using a macro

  1. #1
    Registered User
    Join Date
    07-29-2009
    Location
    Chicago, US
    MS-Off Ver
    Excel 2007
    Posts
    3

    Email from Excel using a macro

    I am very new to using macros and I have tried to do this for a while now. Can some one help.

    I am looking for a macro that will

    -Open a new email
    -Copy and paste data from (below) into the body
    -C13 through F18
    -C24 through F36
    -AF24 through AK36

    Any help is greatly appreciated!

    Thanks!

  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,259

    Re: Email from Excel using a macro

    Hello Neven,

    Welcome to the Forum!

    Ron De Bruin has the code and details on how to do this on his site. There are 2 ways to send emails in VBA: SendMail which uses the default email program, and Outlook.

    Click here to use SendMail
    Click here to use Outlook
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    07-29-2009
    Location
    Chicago, US
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Email from Excel using a macro

    I have tried that site before and I always end up with a lot of errors and have no clue where to begin. I just need to see how my example is used in code so I can understand it better.

  4. #4
    Registered User
    Join Date
    07-29-2009
    Location
    Chicago, US
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Email from Excel using a macro

    Figured it out! Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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