![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 1
|
Good morning everyone.
I have a macro that emails out a file at the end but I'm having trouble with the syntax for adding another email address to the argument1 line: arg1:="ask@mrexcel.com", _ arg2:="Daily Report" How would I add say, "someoneelse@mrexcel.com" in the same line? Thanks in advance. |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
|
The macro I use uses a semi-colon as the address separator.
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
Could you list the names in an array and use the array as the .SendMail part?
NameList = Array("johnq@public.com", "jane@doe.com") and then .SendMail Array(NameList) Untested in full, but it may work. Bye, Hay |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|