Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send a worksheet and allow user to choose recipient... 1

Status
Not open for further replies.

danomaniac

Programmer
Jan 16, 2002
266
US
I have a worksheet that is emailed by many to many daily. Many people still send it as an attachment rather than just the sheet. I've instructed till I'm blue in the face. I want a button that invokes the 'send to' command and allows the user to choose the recipient from their address book prior to clicking 'send this sheet'. Thanks for any help


"It's more like it is now, than it ever has been."
 
summat like this:

ThisWorkbook.SendMail "", "Subject"

??

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Thanks Geoff,
I tried that, but it sends it as an attachment..I want it embedded in the email.

"It's more like it is now, than it ever has been."
 
Unfortunately (in xl2003) you cannot automate that. You would need to automate Outlook and paste the sheet in as an embedded OLE object...

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
apologies - you can of course do it but the only way I can think of is with SENDKEYS (which is best avoided most of the time)
Code:
Sub SendSheet()
SendKeys "%FDM"
End sub

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top