![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I use this code to email a workbook:
Sub SendIt() Application.Dialogs(xlDialogSendMail).Show _ arg1:="email address", _ arg2:="subject" End Sub The questions I have are, how can I just send one worksheet instead of the whole workbook? And, I have outlook and express on my computer, will or how can this work on other email software,ie.AOL,Lotus Notes? Thanks, |
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Ireland
Posts: 133
|
I use lotus notes. I just tried it and it works! I can't say I'd ever have been able to come up with that code and I think it's pretty cool! I see somebody else has a question regarding how to do this at http://www.mrexcel.com/board/viewtop...1594&forum=2&0. Maybe you could help?
[ This Message was edited by: y2k on 2002-03-08 02:50 ] |
|
|
|
|
|
#3 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi
All you need to do is use some code like: Sheet1.Copy This (by deafault) will create a copy of your Worksheet in a Workbook that only contains the one sheet. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|