![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
VBA in Outlook 2003 - ThisOutlookSession
This code was working but now it does nothing when I send an email. What could be the problem? 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 -- Ian Sweeney |
Ads |
#2
|
|||
|
|||
![]()
Does other VBA code run?
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Ian Sweeney" wrote in message ... VBA in Outlook 2003 - ThisOutlookSession This code was working but now it does nothing when I send an email. What could be the problem? 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 -- Ian Sweeney |
#3
|
|||
|
|||
![]()
I don't think I'm running any other VBA.
I was so pleased when this initially worked that I sent it to seven other members of the team I'm working with. Looking at the mailbox where the BCC messages were sent, it appears that they all got it working when they installed it because I see messages in there from of of them, but ONLY FOR THE DAY IT WAS INSTALLED. Nothing after that. P.S. Sue, are you really just one person? If so, I'd like to say thanks for all of the help you've given on various Outlook webpages/newsgroups over the years. -- Ian Sweeney "Sue Mosher [MVP-Outlook]" wrote: Does other VBA code run? -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Ian Sweeney" wrote in message ... VBA in Outlook 2003 - ThisOutlookSession This code was working but now it does nothing when I send an email. What could be the problem? 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 -- Ian Sweeney |
#4
|
|||
|
|||
![]()
My questions was aimed at testing whether there is a problem with your VBA environment. Run this code:
Sub Hello() MsgBox "Hello" End Sub and tell us whether you get a Hello message. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Ian Sweeney" wrote in message ... I don't think I'm running any other VBA. I was so pleased when this initially worked that I sent it to seven other members of the team I'm working with. Looking at the mailbox where the BCC messages were sent, it appears that they all got it working when they installed it because I see messages in there from of of them, but ONLY FOR THE DAY IT WAS INSTALLED. Nothing after that. "Sue Mosher [MVP-Outlook]" wrote: Does other VBA code run? "Ian Sweeney" wrote in message ... VBA in Outlook 2003 - ThisOutlookSession This code was working but now it does nothing when I send an email. What could be the problem? 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 -- Ian Sweeney |
#5
|
|||
|
|||
![]()
VBA macros were blocked. I have run selfcert.exe and digitally signed the
macro and all seems to be OK at present. Thanks. Why did it work when I first added the code? Why did it work when the others first added the code? I can't afford to go down the route of paying Verisign vast sums of money for digital signatures. How can I make this small code snippet work on a small number of PCs (10)? The users are not technically minded, and not nearby otherwise I'd do it manually myself. -- Ian Sweeney "Sue Mosher [MVP-Outlook]" wrote: My questions was aimed at testing whether there is a problem with your VBA environment. Run this code: Sub Hello() MsgBox "Hello" End Sub and tell us whether you get a Hello message. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Ian Sweeney" wrote in message ... I don't think I'm running any other VBA. I was so pleased when this initially worked that I sent it to seven other members of the team I'm working with. Looking at the mailbox where the BCC messages were sent, it appears that they all got it working when they installed it because I see messages in there from of of them, but ONLY FOR THE DAY IT WAS INSTALLED. Nothing after that. "Sue Mosher [MVP-Outlook]" wrote: Does other VBA code run? "Ian Sweeney" wrote in message ... VBA in Outlook 2003 - ThisOutlookSession This code was working but now it does nothing when I send an email. What could be the problem? 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 -- Ian Sweeney |
#6
|
|||
|
|||
![]()
Why did it work when I first added the code? Why did it work when the others
first added the code? It's impossible to know. I can't afford to go down the route of paying Verisign vast sums of money for digital signatures. How can I make this small code snippet work on a small number of PCs (10)? The users are not technically minded, and not nearby otherwise I'd do it manually myself. If you're going to use VBA and not create an add-in, copy the code into each person's VBA environment, run Selfcert.exe to create a certificate for that person, sign the code, and you should be OK. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Ian Sweeney" wrote in message ... VBA macros were blocked. I have run selfcert.exe and digitally signed the macro and all seems to be OK at present. Thanks. I can't afford to go down the route of paying Verisign vast sums of money for digital signatures. How can I make this small code snippet work on a small number of PCs (10)? The users are not technically minded, and not nearby otherwise I'd do it manually myself. -- Ian Sweeney I was so pleased when this initially worked that I sent it to seven other members of the team I'm working with. Looking at the mailbox where the BCC messages were sent, it appears that they all got it working when they installed it because I see messages in there from of of them, but ONLY FOR THE DAY IT WAS INSTALLED. Nothing after that. VBA in Outlook 2003 - ThisOutlookSession This code was working but now it does nothing when I send an email. What could be the problem? 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 -- Ian Sweeney |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I add an item that isn't an appointment? | smags | Outlook - Calandaring | 1 | March 22nd 06 07:35 PM |
Recipients Objects | David Cebrian | Add-ins for Outlook | 1 | March 16th 06 10:05 PM |
add toolbar in inspector contact item | Irene | Outlook and VBA | 1 | February 24th 06 10:23 PM |
drop down list of recipients | NamVetMike | Outlook - Using Contacts | 0 | February 23rd 06 02:48 PM |
how to block recipients | Roberto | Outlook - Using Contacts | 1 | February 4th 06 09:20 PM |