How do I create a macro button?

Xander1

Board Regular
Joined
Nov 28, 2006
Messages
52
I need to create a macro button to send my excel workbook in an email. Please help!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I've managed to get the button to appear, but I can't figure out how to tell it to email the workbook.
 
Upvote 0
What code are you using?
Did you try any of the examples in the link I posted? If so, please post the code?
What email application are you using?
 
Upvote 0
I'm sorry, I've just never used macros before and I'm totally confused. I'm trying to send the email via Microsoft Outlook.
 
Upvote 0
What's your e-mail client? If it's Outlook see: www.rondebruin.nl/sendmail

As for the button you can draw one from the Forms toolbar and assign a macro to it.

HTH,

Smitty

EDIT: Sorry John, I stepped into a meeting before posting and didn't see that you got it handled... :oops:
 
Upvote 0

Forum statistics

Threads
1,214,874
Messages
6,122,036
Members
449,062
Latest member
mike575

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top