Hey ian,
Yes, pritty much anything is possible in Excel, as long as you can write in VB!! There are example scripts and example Excel documents you can download which will help you, such as:
Example Code for sending mail from Excel
^ If I had time to write this one from scratch for you I would, but these kind of mailers can become quite complex unless you are mailing direct from a mail server, or if you have a relay mail server that doesn't require authentification. The example script available here looks quite good, but have not tested it personally.
As for the "Save As" button, this one is quite unique, so you probably won't find any scripts on the net. However, it's quite a simple request, so I'll take you through creating this one from scratch...
- First of all make sure that the Forms tools bar is ticked in Excel, by clicking on
View > Toolbars
- Use the Forms toolbar to create a button on the desired Excel form, and an "Assign Macro" box will appear.. give it an appropriate name and then click on
New.
- Copy and Paste the following code to where the cursor stats flashing in the current module window (between "Sub.." and "End Sub").
Range("C6").Select
ActiveWorkbook.SaveAs Filename:= ActiveCell.FormulaR1C1, FileFormat:=xlNormal, _
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _
CreateBackup:=False
Range("A1").Select
- Where I have highlighted
C6 in red, please change this to the cell where the full path and file you would like the document to be saved to.
- Finally, close Microsoft VB, and test.