+ Reply to Thread
Results 1 to 3 of 3

How do I email my SINGLE worksheet and not entire workbook?

  1. #1
    Registered User
    Join Date
    10-25-2017
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    15

    How do I email my SINGLE worksheet and not entire workbook?

    Hello,

    I'm trying to use an activex button to send an email with my attached worksheet. The below works great but it attaches the entire workbook and not the worksheet tab I'm on. Just a note, I don't know anything about coding. I just copied the below from someone. Thanks!

    Private Sub CommandButton1_Click()
    Application.Dialogs(xlDialogSendMail).Show
    End Sub

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: How do I email my SINGLE worksheet and not entire workbook?

    You would need to copy the sheet you want to attach to a new workbook and then attach that.

    Try this, change Sheet1 to the name of the sheet you want to copy/send.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    10-25-2017
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    15

    Re: How do I email my SINGLE worksheet and not entire workbook?

    Norie, that worked great! Thank you. One question though - When it attaches to the email the name changes to "Book1". How do I get it to stay the name of the tab or change it myself? Thanks again.

+ 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. Replies: 14
    Last Post: 05-08-2017, 04:17 PM
  2. [SOLVED] Macro Button to send Entire Workbook as PDF via email
    By Rosco88 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-21-2013, 10:08 AM
  3. Printing Entire Workbook to a Single PDF File
    By tarpmaster in forum Excel General
    Replies: 3
    Last Post: 09-21-2013, 02:58 PM
  4. Script to Send a Single Worksheet from a Workbook via Email Based on a Cell Value
    By cstavr1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2012, 04:00 PM
  5. Replies: 2
    Last Post: 01-01-2012, 08:30 PM
  6. [SOLVED] Email distribution of certain cells, not an entire sheet/workbook
    By EasleyK in forum Excel General
    Replies: 0
    Last Post: 06-15-2006, 01:25 PM
  7. lookup single value in entire worksheet
    By [email protected] in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2006, 03:20 PM

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