+ Reply to Thread
Results 1 to 8 of 8

VBA Macro copying and emailing report from excel content

  1. #1
    Registered User
    Join Date
    04-13-2016
    Location
    Laguna Philippines
    MS-Off Ver
    O365 PRO PLUS
    Posts
    68

    VBA Macro copying and emailing report from excel content

    Hello Forum Guru/expert,

    I have a daily report to send email from excel files- attached excel file for reference with desired result. I would like to generate email on an excel spreadsheet that will copy worksheet contents to an email body. Im a newbie to macro and I have no idea how to code.

    Appreciate your help on this..

    Thanks Allan

  2. #2
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: VBA Macro copying and emailing report from excel content

    attached excel file for reference
    I don't see a file.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    04-13-2016
    Location
    Laguna Philippines
    MS-Off Ver
    O365 PRO PLUS
    Posts
    68

    Re: VBA Macro copying and emailing report from excel content

    Ooops sory, i forgot the attachments.. See attached. Thanks

  4. #4
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: VBA Macro copying and emailing report from excel content

    will copy worksheet contents to an email body
    Does it have to be in the body, not as a attachment?

  5. #5
    Registered User
    Join Date
    04-13-2016
    Location
    Laguna Philippines
    MS-Off Ver
    O365 PRO PLUS
    Posts
    68

    Re: VBA Macro copying and emailing report from excel content

    Yes excel content should be in the body of email and not an attachment. thanks

  6. #6
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: VBA Macro copying and emailing report from excel content

    Hi,
    This an example that works with outlook.
    Push button MAIL, select the addresses you want to mail to and Push the button SEND.
    Hotmail will open and dispaly the mail. If you want you can change Display to Send in the code. (Sent in the code is green) than the mail will be sent once you open Outlook.
    See attached
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-13-2016
    Location
    Laguna Philippines
    MS-Off Ver
    O365 PRO PLUS
    Posts
    68

    Re: VBA Macro copying and emailing report from excel content

    Hello dotchiejack, I tried many times but still no luck.. Can you check again? Thanks

  8. #8
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: VBA Macro copying and emailing report from excel content

    Is your workbook macro enabled?

+ 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. VBA Macro help copying and emailing excel content
    By vbaxrmx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2019, 04:23 PM
  2. [SOLVED] Code for turning sheet3 content into a pdf and emailing it with cell info all from sheet1
    By Miasage in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2013, 09:56 AM
  3. Copying content of one excel to another excel and sending email with excel data
    By archies.gall in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2012, 02:22 PM
  4. Replies: 0
    Last Post: 02-02-2011, 06:42 PM
  5. emailing content of a worksheet row
    By Healthwatch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-08-2009, 07:15 PM
  6. Emailing a report from a database
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2008, 10:55 AM
  7. stopping copying and emailing of an Excel file
    By Josh C in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2007, 01:05 PM

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