![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
HI,
I have been asked to create a macro in Outlook which checks an email before its sent. This macro will check the address, subject, attachements and Spelling. However Currently when it gets to checking the spelling it just asks if the user has spell checked the body of the text, if the user selects no then it display a mesage saying please select ok to close the macro and spell check the email. However i was wondering if it is possible to instead of the displaying the second message "please select ok to close the macro and spell check the email" to have a message which said "please select ok to run a spell check on the body of the text". However I can not seem to work out if it is possible to have a VBA macro in Outlook spell check the body of the text. Does anyone know if it is possible to start a spell check in outlook VBA? Thanks, Jeskit |
Ads |
#2
|
|||
|
|||
![]() Quote:
Code: Sub TestifBlankandEmail () 'A1 : D10 is the range you want to check if blank If [AND (ISBLANK (A1 : D10))] Then 'This message that pops up if the range is blank MsgBox "Please complete all data entries." Else 'If it isn't blank, then send the email as an attachment to recipient, with subject of TPS Report ActiveWorkbook.SendMail _ Recipients: ="Email Address", _ Subject: ="TPS Report" End If End Sub Hope this helps, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Check Other User's Calendar Macro | Dan | Outlook - Calandaring | 3 | February 26th 10 10:51 AM |
Set off VBA macro on email receipt then that macro accesses the emailcontent | [email protected] | Outlook and VBA | 3 | February 5th 09 01:14 AM |
Outlook 2003 or 2007 autoexec macro to check for disabled items | Sue | Outlook and VBA | 2 | December 8th 08 06:50 PM |
How to check email without removing the email copy from email serv | Eric | Outlook Express | 2 | May 19th 08 10:14 AM |
create a Outlook macro which will check for non arrival of mail | srisubha | Outlook and VBA | 3 | November 2nd 06 08:04 AM |