Hi, I am in need of vba code to email from Excel as follows:
I have a workbook that that has TWO data validation drop down selection boxes. These have a number of names to select from. These are in cells B5 & B6.
I have the email addresses for each of these names stored in cells H9 thru' to H38.
I have a button called email. When this is pressed I will have the code email the whole workbook (which is only sheet1) to the email addresses corresponding to the two selections from the drop down boxes.
It also needs an option to send to another address stored in H30 as well. All addresses need them to all be on the same line (not cc'd in the usual cc & bcc fields).
It should prompt with a question if I want to save first. Yes or No.
With a do this or do that answer. I have code already running to handle the various saving options so if it just has the question message box I can put my code in place of the answers.
The body of the email needs to include my signature & up to maybe 300 characters of text. Can this be drawn from info in another cell & is there any limitation on the number of characters?
For my signature can the email just use my usual Outlook stored signature? I've tried a couple of simple email macros but the body of the email is just empty.
The Subject line should be the text that's in Cell B177 & the body of the email needs to be in Blue text in Tahoma font.
The email format should be html to preserve the formatting.
I am not a programmer of any sorts. Quite computer illiterate in fact but have managed to build my excel file using macro's that I've searched for & built on that. So I need code that I can just copy & paste. I assume I would add it into my modules.
I have tried copying & pasting some macros that only result in error messages yet others seem to work fine.
Is what I'm asking for doable & am I asking too much from a favour? I know that I have asked for a lot.
I'm using XP SP2 & Microsoft Office 2003.
Any help of course I'd be extremely grateful for.
Thanks in advance.
Howard Christian.
Bookmarks