sending workbook in email

juster21

Well-known Member
Joined
Jun 3, 2005
Messages
867
I created a form for my coworkers to use to submit requests. I have everything complete (all combo boxes work, a reset button...yada yada) but I wanted to have the Workbook_Open call the Reset_Click event and also by using a Submit button, have the form emailed from the user to me. Any ideas?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Thanks Smitty. Any ideas on calling the Reset_Click event in the Workbook_Open event???
 
Upvote 0
Any ideas on calling the Reset_Click event in the Workbook_Open event???
When I have to do that I generally put the button code in a general module and call it in both places.I.E.
Code:
Private Sub Workbook_Open()
  Application.Run "Reset_Code"
End Sub

Private Sub Reset_Click()
  Application.Run "Reset_Code"
End Sub
Smitty
 
Upvote 0

Forum statistics

Threads
1,214,525
Messages
6,120,052
Members
448,940
Latest member
mdusw

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