Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default macro to send excel sheet to specific email address

Hi

I have added a button to my spreadsheet that allows users to add the sheet
to an email ready to send, but i really want it to populate the email address
so it sends it straight to me rather than having to rely on users to input my
address (they are a bit slow I'm afraid!!!)

Thanks

John
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default macro to send excel sheet to specific email address

John, have a look at some of Ron de Bruin's code here to do it

http://www.rondebruin.nl/sendmail.htm#Workbook.

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"JonnieP" wrote in message
...
Hi

I have added a button to my spreadsheet that allows users to add the sheet
to an email ready to send, but i really want it to populate the email

address
so it sends it straight to me rather than having to rely on users to input

my
address (they are a bit slow I'm afraid!!!)

Thanks

John



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro to send excel sheet to specific email address


This code was in the Help files in Excel VBA. I substituted my ow
email address(complete with the @..... inside the parentheses). I go
a warning message that a program was trying to access my email and di
I want to proceed. It worked.


With ThisWorkbook
.HasRoutingSlip = True
With .RoutingSlip
.Delivery = xlOneAfterAnother
.Recipients = Array("Adam Bendel", _
"Jean Selva", "Bernard Gabor")
.Subject = "Here is the workbook"
.Message = "Here is the workbook. What do you think?"
.ReturnWhenDone = True
End With
.Route
End Wit

--
DataCollecto
-----------------------------------------------------------------------
DataCollector's Profile: http://www.hightechtalks.com/m36
View this thread: http://www.hightechtalks.com/t229546

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
send email to each customer email in excel sheet. -keevill- Excel Discussion (Misc queries) 3 July 17th 08 02:33 PM
Code to send email to address within selection in Excel workbook vic1 Excel Discussion (Misc queries) 3 May 28th 08 09:51 PM
send wkbk as an email attachment with an email address copied from SueInAtl Excel Discussion (Misc queries) 0 May 21st 07 10:53 PM
how do you send a email from an specific excel column (database).. Email from database Excel Programming 1 January 29th 05 09:25 PM
Vb Macro to attach sheet and send by email Jamie Excel Programming 1 November 4th 04 11:42 AM


All times are GMT +1. The time now is 01:37 AM.

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

About Us

"It's about Microsoft Excel"