PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
problem changing message class
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
problem changing message class
![]() |
problem changing message class |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I am attempting to use the Omsgclas macro posted at Microsoft, but it
won't work. I have used it before so I don't know what is going on. I am using Office XP. Since the last time it worked I have installed and uninstalled the 2003 beta version, so maybe that changed some setings. I have already modified my security to Medium so that macros will run. I stepped through the macro and it is coming up with an error on: Set ol = New Outlook.Application any suggestions? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Did you set a reference to the Outlook library in the VBA project?
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Bert" <argniw@yahoo.com> wrote in message news:fada9319.0404280839.48c141ed@posting.google.com... > I am attempting to use the Omsgclas macro posted at Microsoft, but it > won't work. I have used it before so I don't know what is going on. I > am using Office XP. Since the last time it worked I have installed > and uninstalled the 2003 beta version, so maybe that changed some > setings. I have already modified my security to Medium so that macros > will run. > > I stepped through the macro and it is coming up with an error on: > > Set ol = New Outlook.Application > > any suggestions? |
|
|
|
#3 |
|
Guest
Posts: n/a
|
I'm not sure where to do this. I have not modified the macro since i
downloaded it. Also my custom form won't open now.... the contacts that used the form now display the standard Outlook form. I 'm not sure what's going on. "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message news:<esWFN#TLEHA.1472@TK2MSFTNGP12.phx.gbl>... > Did you set a reference to the Outlook library in the VBA project? > > -- > Sue Mosher, Outlook MVP > Author of > Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx > > > "Bert" <argniw@yahoo.com> wrote in message > news:fada9319.0404280839.48c141ed@posting.google.com... > > I am attempting to use the Omsgclas macro posted at Microsoft, but it > > won't work. I have used it before so I don't know what is going on. I > > am using Office XP. Since the last time it worked I have installed > > and uninstalled the 2003 beta version, so maybe that changed some > > setings. I have already modified my security to Medium so that macros > > will run. > > > > I stepped through the macro and it is coming up with an error on: > > > > Set ol = New Outlook.Application > > > > any suggestions? |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Tools | References
You might want to add the Message Class property to a table view so you can see what form the contacts are set to use. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Bert" <argniw@yahoo.com> wrote in message news:fada9319.0405010537.47665279@posting.google.com... > I'm not sure where to do this. I have not modified the macro since i > downloaded it. > > Also my custom form won't open now.... the contacts that used the form > now display the standard Outlook form. I 'm not sure what's going on. > > > "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message news:<esWFN#TLEHA.1472@TK2MSFTNGP12.phx.gbl>... > > Did you set a reference to the Outlook library in the VBA project? > > > > > > "Bert" <argniw@yahoo.com> wrote in message > > news:fada9319.0404280839.48c141ed@posting.google.com... > > > I am attempting to use the Omsgclas macro posted at Microsoft, but it > > > won't work. I have used it before so I don't know what is going on. I > > > am using Office XP. Since the last time it worked I have installed > > > and uninstalled the 2003 beta version, so maybe that changed some > > > setings. I have already modified my security to Medium so that macros > > > will run. > > > > > > I stepped through the macro and it is coming up with an error on: > > > > > > Set ol = New Outlook.Application > > > > > > any suggestions? |
|
|
|
#5 |
|
Guest
Posts: n/a
|
I had the same problem after installing Outlook 2003.
Just try to change the line: "Set ol = New Outlook.Application" to "Set ol = Outlook.Application" worked for me! Cheers thomas "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message news:<u152EiIMEHA.2064@TK2MSFTNGP12.phx.gbl>... > Tools | References > > You might want to add the Message Class property to a table view so you can > see what form the contacts are set to use. > > -- > Sue Mosher, Outlook MVP > Author of > Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx > > > "Bert" <argniw@yahoo.com> wrote in message > news:fada9319.0405010537.47665279@posting.google.com... > > I'm not sure where to do this. I have not modified the macro since i > > downloaded it. > > > > Also my custom form won't open now.... the contacts that used the form > > now display the standard Outlook form. I 'm not sure what's going on. > > > > > > "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message > news:<esWFN#TLEHA.1472@TK2MSFTNGP12.phx.gbl>... > > > Did you set a reference to the Outlook library in the VBA project? > > > > > > > > > > "Bert" <argniw@yahoo.com> wrote in message > > > news:fada9319.0404280839.48c141ed@posting.google.com... > > > > I am attempting to use the Omsgclas macro posted at Microsoft, but it > > > > won't work. I have used it before so I don't know what is going on. I > > > > am using Office XP. Since the last time it worked I have installed > > > > and uninstalled the 2003 beta version, so maybe that changed some > > > > setings. I have already modified my security to Medium so that macros > > > > will run. > > > > > > > > I stepped through the macro and it is coming up with an error on: > > > > > > > > Set ol = New Outlook.Application > > > > > > > > any suggestions? |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

