+ Reply to Thread
Results 1 to 2 of 2

Send workbook to specific email address

  1. #1
    Registered User
    Join Date
    01-09-2013
    Location
    São Paulo
    MS-Off Ver
    Excel 2010
    Posts
    4

    Send workbook to specific email address

    HI all,

    I need a macro to send a excel workbook as an attachment via outlook.

    Usually i use the following code that i found in the internet:

    Please Login or Register  to view this content.
    This code however, does not let me change the recipient address....

    What i need now is a code that send the workbook to a address located in cell D1 in sheet called "Formulário" - the email changes with some validation lists that´s why the address itself cannot be in the code.

    The email must have a subject "Formulário de Atendimento ao Público" and a Body:

    "Segue formulário de atendimento ao público preenchido
    Qualquer dúvida, favor entrar em contato"

    I looked up in the internet and found the following code:

    Please Login or Register  to view this content.
    This code however does not attach the workbook to the email. Could anyone help me fix it?

    i know nothing about macros....i think that it should not be so complicated to include a new line in the above mentioned code... but i really have no clue on how to do it....

    I tried looking for it the forum, but couldnt find anything.
    Last edited by tulliofn; 06-06-2013 at 09:47 AM.

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Send workbook to specific email address

    Please wrap your text in code tags. Edit your post, highlight all the code, and press the "#" button.
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

+ 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