Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
525047
 
Posts: n/a
Default Email button within Excel


I want to be able to complete an XLS and then click on a button to email
the completed file and if possible save it too. Is there a way to set up
a button to do this on a sheet?


--
525047
  #2   Report Post  
jahoobob
 
Posts: n/a
Default


525047 Wrote:
I want to be able to complete an XLS and then click on a button to email
the completed file and if possible save it too. Is there a way to set up
a button to do this on a sheet?

Place the following in a Macro:
Sub Macro1()
ActiveWorkbook.Save
ActiveWorkbook.SendMail "
End Sub

Place the your recipient's name in the quotes

Now lets place a button on your menubar

Right click a blank area of the menus and select Customize.
On the Commands tab, move down the list and select Macros.
Drag the Custom button to any menu bar.
Click on the button with the right button and select Assign Macro
Select the appropriate macro and the OK
If you want a different button, select Change button image.
Close the Customize window.
You may get a message each time you run this if your company has it set
up so that tells you something about a program trying to send something.
When the Yes button shows black letters, click it and the spreadsheet
is sent.
I hope this does what you want.
Bob


--
jahoobob
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
In excel: when in print preview, 1 button to 'maximise margins' Sa Gested Excel Worksheet Functions 0 August 3rd 05 01:46 PM
Sendinf Email From Excel Dave_2k5 Excel Discussion (Misc queries) 5 July 27th 05 01:14 PM
Button for subscript and superscript in Excel ajkarl Excel Discussion (Misc queries) 1 May 24th 05 11:42 PM
Email hyperlink changes not showing in excel Nancy Excel Worksheet Functions 0 May 13th 05 12:26 AM
Excel should not delete document after trying to send email 4rs Excel Discussion (Misc queries) 0 January 14th 05 04:39 AM


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