Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 347
Default Send button in Excel

I want to make a form with in it a button to send that form to a pre-choossen
mail address

Can someone help me?

Regards
George


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Send button in Excel

when you say form, do you mean using a worksheet to simulate a paper form?
or are you talking about a Userform that you create in the VBE?

for a worksheet

activesheet.copy
Activeworkbook.Sendmail ", Subject:="Report for
" & format(date,"mm/dd/yyyy")
Activeworkbook.Close Savechanges:=False



--
Regards,
Tom Ogilvy

"George" wrote in message
...
I want to make a form with in it a button to send that form to a

pre-choossen
mail address

Can someone help me?

Regards
George




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 347
Default Send button in Excel

Thanks Tom,

i will try it.

To be more explicit about my question, I have a form in Excel which a team
needs to fill in and then send by mail. One time to one mail address the
second time to another mail address, same form but different content.

Now they have to go to send it by too many steps, if there is a button which
say send to mal 1 or send to mail 2 it makes it a lot easier to have these
persons use this form.

Thanks again.



"Tom Ogilvy" wrote:

when you say form, do you mean using a worksheet to simulate a paper form?
or are you talking about a Userform that you create in the VBE?

for a worksheet

activesheet.copy
Activeworkbook.Sendmail ", Subject:="Report for
" & format(date,"mm/dd/yyyy")
Activeworkbook.Close Savechanges:=False



--
Regards,
Tom Ogilvy

"George" wrote in message
...
I want to make a form with in it a button to send that form to a

pre-choossen
mail address

Can someone help me?

Regards
George





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Send button in Excel

I had trouble getting the code to work until I made Recipient plural. So it
should look like this:

activesheet.copy
Activeworkbook.Sendmail ", Subject:="Report for
" & format(date,"mm/dd/yyyy")
Activeworkbook.Close Savechanges:=False

Other than that it works wonderfully.


"Tom Ogilvy" wrote:

when you say form, do you mean using a worksheet to simulate a paper form?
or are you talking about a Userform that you create in the VBE?

for a worksheet

activesheet.copy
Activeworkbook.Sendmail ", Subject:="Report for
" & format(date,"mm/dd/yyyy")
Activeworkbook.Close Savechanges:=False



--
Regards,
Tom Ogilvy

"George" wrote in message
...
I want to make a form with in it a button to send that form to a

pre-choossen
mail address

Can someone help me?

Regards
George





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
How do I set an auto send button in Excel?〈 j a houghton Excel Discussion (Misc queries) 3 April 7th 09 11:02 PM
Excel email mode send button?? JerryCic Excel Discussion (Misc queries) 1 August 7th 07 09:25 PM
create a send button in excel max power Excel Discussion (Misc queries) 2 January 8th 07 08:16 PM
SEND button in Excel Teddly Excel Worksheet Functions 1 May 24th 06 11:40 AM
Not using send button on excel e-mail Richard Excel Programming 3 April 2nd 04 05:14 PM


All times are GMT +1. The time now is 10:50 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"