Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Disable spell check in outgoing email

Hi,
I'm using a Excel macro that creates an email notification to different
people in an column. Then I have it send using

..Display
Application.SendKeys "%s" 'This feature can't be test run.
Application.Wait Time + TimeValue("00:00:01")

However, the program hangs up if the spell checker gets activated due to a
name. The rest of the body of the message is fine. I need to know how to set
it to not perform the spell check when I send the message.
--
Best Regards,

Luke Moraga
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Disable spell check in outgoing email

I'm using Outlook, 2002

If the previous question is unclear, I'm asking for the VBA coding needed to
bypass the spell checker when I send an email.
--
Best Regards,

Luke Moraga


"Luke Moraga" wrote:

Hi,
I'm using a Excel macro that creates an email notification to different
people in an column. Then I have it send using

.Display
Application.SendKeys "%s" 'This feature can't be test run.
Application.Wait Time + TimeValue("00:00:01")

However, the program hangs up if the spell checker gets activated due to a
name. The rest of the body of the message is fine. I need to know how to set
it to not perform the spell check when I send the message.
--
Best Regards,

Luke Moraga

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Disable spell check in outgoing email

did you try "olMailObject.SpellingChecked = True" ?

"Luke Moraga" wrote:

I'm using Outlook, 2002

If the previous question is unclear, I'm asking for the VBA coding needed to
bypass the spell checker when I send an email.
--
Best Regards,

Luke Moraga


"Luke Moraga" wrote:

Hi,
I'm using a Excel macro that creates an email notification to different
people in an column. Then I have it send using

.Display
Application.SendKeys "%s" 'This feature can't be test run.
Application.Wait Time + TimeValue("00:00:01")

However, the program hangs up if the spell checker gets activated due to a
name. The rest of the body of the message is fine. I need to know how to set
it to not perform the spell check when I send the message.
--
Best Regards,

Luke Moraga

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Disable spell check in outgoing email

You can also, in Outlook, go to Tools OptionsSpelling Tab and uncheck
"Always check spelling before sending"

"Luke Moraga" wrote:

I'm using Outlook, 2002

If the previous question is unclear, I'm asking for the VBA coding needed to
bypass the spell checker when I send an email.
--
Best Regards,

Luke Moraga


"Luke Moraga" wrote:

Hi,
I'm using a Excel macro that creates an email notification to different
people in an column. Then I have it send using

.Display
Application.SendKeys "%s" 'This feature can't be test run.
Application.Wait Time + TimeValue("00:00:01")

However, the program hangs up if the spell checker gets activated due to a
name. The rest of the body of the message is fine. I need to know how to set
it to not perform the spell check when I send the message.
--
Best Regards,

Luke Moraga

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Disable spell check in outgoing email

Hm. Looks good, but its not working for me. Where in the coding would this
go? As for unchecking the spell check box, that won't work as this program
operates from the letter screen only, and on different computers. If I set it
to "uncheck" that box everytime, then if it runs on a computer where intial
value of box is unchecked, it will actually check it. =( I've posted the part
of my code below, if someone could say where "olMailObject.SpellingChecked =
True" needs to go, would be most helpful. The main structure of the coding is
based off of Ron de Bruin's site.

For Each cell In Sheets("Sheet2").Range("c2:c" &
WorksheetFunction.CountA(Worksheets("Sheet2").Rang e("a:a")))
If LCase(cell.Offset(0, 3).Value) = "yes" _
And LCase(cell.Offset(0, 4).Value) < "send" Then 'first check
Set OutMail = OutApp.CreateItem(olMailItem)
With OutMail
olmailobject.spellingchecked = True '<==== Where I have it
now
.To = cell.Value
.Subject = "CAR " & cell.Offset(0, -2).Value & " needs
updated"
.Body = Body message goes here
.Display

Application.SendKeys "%p"
Application.SendKeys "h"
Application.SendKeys "{ENTER}" 'Sets message priority to "high"
Application.SendKeys "%s"
Application.Wait Time + TimeValue("00:00:01")

End With
Set OutMail = Nothing
cell.Offset(0, 4).Value = "send"
End If
--
Best Regards,

Luke Moraga


"JLGWhiz" wrote:

did you try "olMailObject.SpellingChecked = True" ?

"Luke Moraga" wrote:

I'm using Outlook, 2002

If the previous question is unclear, I'm asking for the VBA coding needed to
bypass the spell checker when I send an email.
--
Best Regards,

Luke Moraga


"Luke Moraga" wrote:

Hi,
I'm using a Excel macro that creates an email notification to different
people in an column. Then I have it send using

.Display
Application.SendKeys "%s" 'This feature can't be test run.
Application.Wait Time + TimeValue("00:00:01")

However, the program hangs up if the spell checker gets activated due to a
name. The rest of the body of the message is fine. I need to know how to set
it to not perform the spell check when I send the message.
--
Best Regards,

Luke Moraga

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell Check Warm Excel Worksheet Functions 3 June 16th 09 03:30 PM
disable spell check whilst automatically sending email from Excel RocketRod Excel Worksheet Functions 0 February 10th 08 11:02 PM
Spell check Tonks Excel Worksheet Functions 2 July 31st 06 11:44 AM
... Can I set Spell Check to automatically check my spelling ... Dr. Darrell Setting up and Configuration of Excel 0 March 21st 06 08:26 PM
disable spell check pop-up message Greg Excel Programming 3 February 15th 05 04:11 PM


All times are GMT +1. The time now is 11:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"