"The object is not valid" Error

A

Artem

Although this issue is related to my previous post
called "Custom Actions in Outlook 2003", but it is a new
subject so I post it as a new question.

I have a custom form with a custom action. When I tried
launching my custom action from the "Actions" menu I got
that error (only in Outlook 2003).

So I removed all lines of code and added the following.

Function Item_CustomAction(ByVal Action, ByVal NewItem)
msgbox "hi
End Function

I still got that error

Next I removed all objects and custom properties from my
form. I still got that error.

However, when I tried this on a new form, the function
worked.

Looks like the form object itself is somehow corrupted.

I know one option is to start with a new post item and
transfer my objects and codes from the old form, but I
never had a good experience with copying from one form to
another, especially copying a big group of objects.

Again this issue presents itself only in Outlook 2003. I
appreciate any suggestions

Artem
 

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