Is there a way to attach an excel sheet and send it to email addresses in a workbook?
Thanks
Is there a way to attach an excel sheet and send it to email addresses in a workbook?
Thanks
Hi,
Have a look here: http://rondebruin.nl/sendmail.htm
Dom
"May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."
Use code tags when posting your VBA code: [code] Your code here [/code]
Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.
Thanks, the code here worked but I am trying to edit it so that only certain names will be emailed. for example if toms and jims names are in a range then i want them to be emailed or if Bill,Jack, and Mark are in the range then I want them to be emailed. Is there a way to edit the code to achieve this. Thanks
![]()
Please Login or Register to view this content.
Is it always a specific sheet you want to email and where would the list of people to send it to be kept?
Dom
Here is the sample file. Basically, if there are any names in the yellow dropdown boxes, then I am trying to get an email to be sent to those names. Just the active "email" Sheet ould need to go out and the names and email addresses are in the Sheet3 tab.
Thanks for the help
Try the attached.
I changed the named range for your validation list from name to empnames as Name is a reserved word in Excel I think and could have caused problems.
Dom
Thanks so much. It generated perfectly!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks