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") 

source: built-in dialog box argument lists


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -