VBA Excel - Create a Macro Button to E-mail .xlsm as an .xlsm Whilw Specifiying Recipient -
i have created protected form 2 form control buttons allowing user send form 1 of 2 people without saving form. using:
application.dialogs(xldialogsendmail).show
i know if there way designate specific email addresses opposed user needing type them in? furthermore, need form remain macro-enabled spreadsheet.
thanks!
there 3 arguments can set xldialogsendmail
dialog box
- arg1 = recipients
- arg2 = subject
- arg3 = return_receipt
to set recipients, do...
application.dialogs(xldialogsendmail).show("email_address@so.com")
Comments
Post a Comment