userform in VBAProject.otm not working

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
 
M

Michael Bauer [MVP - Outlook]

A UserForm doesn't know an Initialize event; probably that's the issue.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


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

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