Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   userform in VBAProject.otm not working (http://www.outlookbanter.com/outlook-vba/91585-userform-vbaproject-otm-not-working.html)

Peter Hofman June 15th 09 09:03 PM

userform in VBAProject.otm not working
 
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 [MVP - Outlook] June 20th 09 03:17 PM

userform in VBAProject.otm not working
 


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:

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



All times are GMT +1. The time now is 06:09 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com