Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Vba send an email
Resolved · Low Priority · Version 2003
Emma has attended:
Excel VBA Intro Intermediate course
how do i send an email with vba?
Hi Emma
If you wish to email the current workbook to a colleague or anyone else then the following line of code will do exactly that:
ActiveWorkbook.SendMail Recipients:="theirname@theircompany.com", _
Subject:="Latest Accounts"
This creates a new e-mail with the above address and Subjent line and the workbook attached.
Hope this helps
Carlos
|
Excel tip:Fill formulae across a sheetTo copy a formula down a spreadsheet where there is data underneath, to the left or to the right of the formula, double-click on the fill handle. The fill handle is the little black cross that appears in the bottom right-hand corner of the formula cell. Unfortunately, no similar facility exists to copy formulae across the sheet. |
We'll call during UK business hours
Server loaded in 0.07 secs.