Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call spellchecker in outlook vba

Status
Not open for further replies.

Fozzie22

Programmer
Dec 3, 2003
59
AU
Hi everybody,

I have a macro that takes care of saving and sending emails in Outlook 2003. Before I send them I would like to invoke the spell checker on the email. Does anybody know how to do this. I have been looking for the item.spellcheck command or something along those lines for ages.

Thanks

Anthony
 
Fozzie22,
This isn't pretty, but it works. If you first activate the email window (Inspector) you can then simulate pressing the [F7] key.
Code:
ActiveInspector.Activate
SendKeys "{F7}", True

Hope this helps,
CMP


(GMT-07:00) Mountain Time (US & Canada)
 
I like it. Trick the system into believing that the user has pressed the F7 key.

I will give it a go. Thanks

Anthony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top