Kellie Turnbull
10-27-2006, 08:29 AM
Hi, I was wondering if anyone could help me?
I would like to create a macro which I can attach to a command button in an excel spreadsheet that will eMail the same spreadsheet to a pre-defined eMail address.
I have tried to record the macro using the eMail option under the File menu (File - Send To - Mail Recipient as attachment) but it doesn't seem to work. I am assuming that it's because the eMail form is not part of Excel.
Can anyone send me some code that I can attach to the click command in VB? I can play around with it if it's not completely right.
Many thanks in advance.
Kellie
I would like to create a macro which I can attach to a command button in an excel spreadsheet that will eMail the same spreadsheet to a pre-defined eMail address.
I have tried to record the macro using the eMail option under the File menu (File - Send To - Mail Recipient as attachment) but it doesn't seem to work. I am assuming that it's because the eMail form is not part of Excel.
Can anyone send me some code that I can attach to the click command in VB? I can play around with it if it's not completely right.
Many thanks in advance.
Kellie