+ Reply to Thread
Results 1 to 7 of 7

Send Email 1 sheet as attachment and other sheet as body of emial.

  1. #1
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    906

    Question Send Email 1 sheet as attachment and other sheet as body of emial.

    Hello Again,

    I have been searching for vba macros to send one worksheet as attachment and other worksheet as message of email but fail to find it. Can any one help me to get this script.

    What i need here is i have one workbook with 2 worksheets. I need to send one worksheet at attachment with cell value as file name and other worksheet as message in the email.

    Sample file is attached for your reference.

    Any help is highly appreciable.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    906

    Re: Send Email 1 sheet as attachment and other sheet as body of emial.

    i am trying to send an email using excel VBA Macros. I want to send 1 sheet as an attachment and other sheet range as body of message. Can any one help me please.

  3. #3
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Send Email 1 sheet as attachment and other sheet as body of emial.

    try this
    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  4. #4
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    906

    Re: Send Email 1 sheet as attachment and other sheet as body of emial.

    Thanks john for your reply but i have one question can be the range as A1:I40 something like this instead of below

    Please Login or Register  to view this content.
    Something like below

    Please Login or Register  to view this content.
    i am writing like this but it is not showing on the body of email any help on this issue

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Send Email 1 sheet as attachment and other sheet as body of emial.

    nope.
    try this, for sending a range in body I use the code written by Leith Ross, please change for yr needs...
    (can't add a test file for you!)
    Attached Files Attached Files
    Last edited by john55; 02-15-2013 at 07:34 AM.

  6. #6
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    906

    Re: Send Email 1 sheet as attachment and other sheet as body of emial.

    Thanks for your response John, It works on my original file. Sorry for delay in replying.

    Topy marked as solved and reputation added.

  7. #7
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Send Email 1 sheet as attachment and other sheet as body of emial.

    thx and glad to be of help!

+ 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