This code:
Expand|Select|Wrap|Line Numbers
- Set Mail_Object = CreateObject("Outlook.Application")
- Set Mail_Single = Mail_Object.CreateItem(0)
- With Mail_Single
- .Subject = sSubject
- .To = sName
- .Body = Stext1
- .Send
- End With
I have checked the Reference library is the same on all machines, which it is. I can only assume I have enabled smething on the two machines that work, that isn't automatically enabled, but isnt in th reference library.