userform in VBAProject.otm not working

Status
Not open for further replies.
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
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
A Outlook Userform Size Outlook VBA and Custom Forms 2
N Activity Tracking with Userform Outlook VBA and Custom Forms 4
D Next Available Meeting with Userform Variables Outlook VBA and Custom Forms 1
A Populate Excel from Outlook Userform Outlook VBA and Custom Forms 3
B Insert Hyperlinks for attachments in Userform Outlook VBA and Custom Forms 5
D Change sender name outlook vba 2010 Custom Userform Outlook VBA and Custom Forms 1
A Open CHM file from VBA Userform Outlook VBA and Custom Forms 4
L Outlook 2007 - Userform Using Outlook 2
A Focus on the userform Outlook VBA and Custom Forms 15
F Outlook 2010 - outlook userform and combo boxes Using Outlook 9
L Userform Field Month and Date. Using Outlook 19
witzker insert Date & Time (HH:mm) no (ss) in userform Using Outlook 6
A insert Date & Time in userform Using Outlook 3
X VBA: Confused with variables between ThisOutlookSession and UserForm Using Outlook 1
L UserForm Code For Contact Links Using Outlook 76
M Progrescreas Bar in Outlook UserForm Using Outlook 1
C UserForm and ordering variables Outlook VBA and Custom Forms 3
J userform combobox Outlook VBA and Custom Forms 1
R combobox list in userform Outlook VBA and Custom Forms 1
B Userform Outlook VBA and Custom Forms 5
W Using Excel UserForm from Open Workbook in Outlook VBA Outlook VBA and Custom Forms 5
G Updating VbaProject.OTM on several users Outlook VBA and Custom Forms 3
A VBAProject.OTM Not Found Outlook VBA and Custom Forms 2
N Open & Save VBAProject.Otm using VBA Code Outlook VBA and Custom Forms 1
Peter R Hawkes Can I sync VBAProject.otm? Outlook VBA and Custom Forms 1
divan VbaProject: Changing email format Using Outlook 15
R how do I eliminate allow access dialog box using VBAproject in Out Outlook VBA and Custom Forms 1
Top