problem changing message class

B

Bert

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?
 
S

Sue Mosher [MVP-Outlook]

Did you set a reference to the Outlook library in the VBA project?
 
B

Bert

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.
 
S

Sue Mosher [MVP-Outlook]

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



Bert said:
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]" <[email protected]> wrote in message
Did you set a reference to the Outlook library in the VBA project?
 
T

twiegand

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 said:
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



Bert said:
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]" <[email protected]> wrote in message
Did you set a reference to the Outlook library in the VBA project?


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?
 

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