Hello again,
Same quote module, same button, new issue.
Ron de Bruin has been helping me with this one, and doing a great job at it. So first let me say thank you to him for being so patient, and for explaining things clearly. Some of the code I will post is Ron's, and if you have come across this post by way of a search on email. Please see his site first; it may help to clear things up for you. (See the bottom of this post for links to Ron's sites.) However, patient as he has been, I can't expect him to continue to hold my hand on this one, so I am opening the question back up to the forum.
Now on to the meat of the matter...
Thanks to Ron this code has been cleaned up considerably, and a lot of unnecessary steps have been eliminated. This gist of it is for the button to trigger the protection of one sheet (the quote itself), copy it, then via a yes/no msg box either send it as a single sheet attachment, and save the file under a unique name, or just save the file.
I am stuck at the sending. For some reason the debugger when stepping through this, stops at the .Send, and tells me that the .To, .CC, or .BCC must have a name in them. Well, initially I started with a variable in the .To spot. However, I tested it with an actual email address between the quotes, and the same message appeared.
Please help! Ron, Dave, anyone...Thanks in advance!
Links to Ron's Sites:
http://www.rondebruin.nl - general info.
http://www.rondebruin.nl/sendmail.htm -specifically about sending email
Bookmarks