Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default e-mail individual worksheet/tab w/out e-mailing entire workbook?

As an attachment, how do I e-mail an individual worksheet/tab within a
workbook with e-mailing the entire workbook?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default e-mail individual worksheet/tab w/out e-mailing entire workbook?

A worksheet cannot exist outside of a workbook. Therefore, you need to
copy the worksheet to a new workbook and email that workbook. For
example,

ThisWorkbook.Worksheets("sheet1").Copy
' Newly created workbook is now ActiveWorkbook
ActiveWorkbook.SendMail ", "One Worksheet"
ActiveWorkbook.Close savechanges:=False

The first line of code copies Sheet1, creating a new workbook
containing only Sheet1. After the copy is complete, that newly created
workbook is then the active workbook. The code sends that workbook via
email and then closes it without saving.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Fri, 13 Mar 2009 13:23:02 -0700, Cookie Monster <Cookie
wrote:

As an attachment, how do I e-mail an individual worksheet/tab within a
workbook with e-mailing the entire workbook?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
E-mailing a worksheet from a workbook using Windows Mail sparks41 New Users to Excel 2 December 30th 08 11:00 PM
How do I email one Excel worksheet and not the entire workbook sanlee Excel Discussion (Misc queries) 11 June 19th 08 06:03 PM
How do I email a single worksheet, not the entire workbook? sanlee Excel Discussion (Misc queries) 3 June 17th 08 05:34 PM
Can I e-mail only one worksheet in a workbook using MSN Hotmail? sj Excel Discussion (Misc queries) 0 January 4th 06 02:58 PM
is there a way to export just 1 worksheet of an entire workbook lizzie14 Excel Worksheet Functions 1 August 11th 05 04:44 PM


All times are GMT +1. The time now is 12:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"