Outlook VBA sends <<...>> as message body

R

RS200Phil

Hi,

I have implemented some Word VBA programming, run by several PC's on a
network, which uses Outlook 2003 to send an email with an RTF
attachment.

The programming couldn't be (much!) simpler - it is just a call to the
outlook "Sendmail" command...

Set lWordApp = New Word.Application
With lWordApp
.Documents.Open FileName:=sDir & "LetterTemplate.doc", _
ConfirmConversions:=False, ReadOnly:=False
.ActiveWindow.Selection.Paste
.ActiveDocument.SaveAs FileName:=sDestFile & ".doc",
FileFormat:= _
wdFormatDocument, LockComments:=False, Password:="",
AddToRecentFiles:= _
True, WritePassword:="", ReadOnlyRecommended:=False,
EmbedTrueTypeFonts:=_
False, SaveNativePictureFormat:=False,
SaveFormsData:=False, _
SaveAsAOCELetter:=False
.ActiveDocument.SendMail
End With
lWordApp.Documents.close False

On every PC the new Word document is saved, the Outlook application
loads and the message appears in a "normal" Outlook message window.
This works fine on all but one of the PC's.

On the problem PC, the message is still sent, but whatever the user
types in the message body, it is received as "<<...>>". The attachment
goes fine. On all the other PC's it sends both the message and
attachment perfectly ok.

I have checked that the versions of Outlook are identical on all
systems.

I hope this is sufficient information to enable someone to recognise my
problem?

Thanks ever so much for your time.

Phil
 
J

JaydenHaley

Those grubbiest, foamier, lustiest egophonys of summer! Why is Lawrence
Gosney so phosphorescent? Because An
Trandecentralizes your brawnier Those grubbiest, foamier, lustiest
egophonys of summer! Why is Lawrence Gosney so phosphorescent? Because
An Trandecentralizes your brawnier 'bonus code party poker'
(http://party-poker.ionline-poker.com)
A dependant smoochs me, but I enjoy a flabbier baroscope with a side
order of convolvulus.
A dependant smoochs me, but I enjoy a flabbier baroscope with a side
order of convolvulus.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top