userform in VBAProject.otm not working

  • Thread starter Peter Hofman
  • Start date Views 2,053
P

Peter Hofman

Hi,

I have a user form defined in outlook vba.

The form has a Userform_Initialize sub for initialization of a combobox.

When I run the form from VBA editor it is initialized and it works.

When I run the form from VBA code that is used in an Inbox mail processing

rule, it does not get initialized, nor does the commandbutton work.

I am forgetting something here?

Cheers,

P

url:http://www.ureader.com/gp/1081-1.aspx
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
A UserForm doesn't know an Initialize event; probably that's the issue.

Best regards

Michael Bauer

Am Tue, 16 Jun 2009 04:03:34 +0800 schrieb Peter Hofman:


> Hi,

> I have a user form defined in outlook vba.
> The form has a Userform_Initialize sub for initialization of a combobox.
> When I run the form from VBA editor it is initialized and it works.
> When I run the form from VBA code that is used in an Inbox mail processing
> rule, it does not get initialized, nor does the commandbutton work.
> I am forgetting something here?

> Cheers,
> P

> url:http://www.ureader.com/gp/1081-1.aspx
 

Top