That code also works in OL07. Did you check the security settings already?
You could set a breakpoint at a line of code and see if the execution stops
there.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German:
http://www.VBOffice.net/product.html?pub=6)
Am 09 Jan 2007 06:15:11 GMT schrieb InTaH :
Hello,
I've spent most of the evening trying to run an AUTO BCC VB code in
Outlook 2007. I tried the same code in Outlook 2003 and it worked
beautifully, but it will not work in Outlook 2007 (presumably due to
the Trust Center or whatever).
Any ideas on how to automatically get every email to send a BCC copy
to the email address of your choice?
The code I used was:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As
Boolean)
Dim objMe As Recipient
Set objMe = ")
objMe.Type = olBCC
objMe.Resolve
Set objMe = Nothing
End Sub
This code was taken from:
http://www.outlookcode.com/d/code/autobcc.htm
Thanks for any suggestions!