What doesn't work in Word/Outlook 2003 with that code? Any errors or what?
Where is the code running, Word or Outlook? I assume that WordMail is set.

One other question, when is the failing code running? What triggers it, a
button or event or ...?

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm

"Graham Mayor" <gmayor@REMOVETHISmvps.org> wrote in message
news:uxa5P1krKHA.5896@TK2MSFTNGP04.phx.gbl...
> OK I'll look at that - at the moment (for Office 2007) I am simply reading
> the registry entry (where it exists), informing the user and disabling the
> function.
>
> Interestingly the issue does not arise when working with the same
> documents in Office 2003 with Word as e-mail editor (but then I suppose
> you have the issue there of not being able to select Word as e-mail editor
> from vba - as one door closes another opens).
>
> Whilst on the subject of Office 2003 the basic code segment (below) that
> works in Office 2007 does not work for me in Word 2003. I cannot decide
> whether this is because of a problem with the Office 2003 installation, or
> whether simply it doesn't work in Office 2003. It works with Word 2003 and
> Outlook 2007 and Word 2007 and Outlook 2007, but not Word 2003 and Outlook
> 2003 - and if it is my installation at fault, I can't put my finger on
> where :(
>
> Set oItem = oOutlookApp.CreateItem(olMailItem)
> Set objDoc = oItem.GetInspector.WordEditor
> Set objSel = objDoc.Windows(1).Selection
>
> With oItem
> .To = strEMail
> .Subject = "Subject"
> Selection.Copy
> .Display
> objSel.Paste
> End With
>
> 'Clean up
> Set oItem = Nothing
> Set oOutlookApp = Nothing
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
13 Feb 2010Turn off Outlook spell checking of messages with vba.Graham Mayor
13 Feb 2010\ Re: Turn off Outlook spell checking of messages with vba.Ken Slovak - [MVP - O...
14 Feb 2010   \ Re: Turn off Outlook spell checking of messages with vba.Graham Mayor
15 Feb 2010      \ Re: Turn off Outlook spell checking of messages with vba.Ken Slovak - [MVP - O...
15 Feb 2010         \ Re: Turn off Outlook spell checking of messages with vba.Graham Mayor
15 Feb 2010            \ Re: Turn off Outlook spell checking of messages with vba.Ken Slovak - [MVP - O...
15 Feb 2010               \ Re: Turn off Outlook spell checking of messages with vba.Graham Mayor
15 Feb 2010                  \ Re: Turn off Outlook spell checking of messages with vba.Ken Slovak - [MVP - O...
16 Feb 2010                     \ Re: Turn off Outlook spell checking of messages with vba.Graham Mayor
16 Feb 2010                        \ Re: Turn off Outlook spell checking of messages with vba.Doug Robbins - Word MVP
16 Feb 2010                           |- Re: Turn off Outlook spell checking of messages with vba.Graham Mayor
16 Feb 2010                           \ Re: Turn off Outlook spell checking of messages with vba.Ken Slovak - [MVP - O...
16 Feb 2010                              \ Re: Turn off Outlook spell checking of messages with vba.Graham Mayor
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)