I am learning fairly quickly but have just got stuck, and a bit confused.
I have setup on a spreadsheet some VBA to check the day of the week each day the workbook is closed, and if it is Friday then to bring up userform1. The userform contains a short message saying that it is friday and this file needs to be forwarded to selected people. Below this message there are two check boxes (which are pre checked), each with a different persons name. Below that is then a send and cancel button.
How and where do I write the code for the send and cancel button. The send button when clicked should check to which check boxes are marked and send an email to each of the people checked. The cancel button should exit the form and allow the workbook to close with no action.
I hope I have made my question clear.Any help or comments anyone can supply is greatly appreciated.
I have setup on a spreadsheet some VBA to check the day of the week each day the workbook is closed, and if it is Friday then to bring up userform1. The userform contains a short message saying that it is friday and this file needs to be forwarded to selected people. Below this message there are two check boxes (which are pre checked), each with a different persons name. Below that is then a send and cancel button.
How and where do I write the code for the send and cancel button. The send button when clicked should check to which check boxes are marked and send an email to each of the people checked. The cancel button should exit the form and allow the workbook to close with no action.
I hope I have made my question clear.Any help or comments anyone can supply is greatly appreciated.