A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

userform in VBAProject.otm not working



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 15th 09, 10:03 PM posted to microsoft.public.outlook.program_vba
Peter Hofman
external usenet poster
 
Posts: 2
Default 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
Ads
  #2  
Old June 20th 09, 04:17 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
REPOST: VbaProject.OTM modules vanish Ken Outlook - General Queries 6 January 8th 07 10:09 PM
REPOST: VbaProject.OTM modules vanish Brian Tillman Outlook and VBA 0 December 22nd 06 02:05 PM
large VBAProject.otm; performance considerations? Bob Outlook and VBA 2 May 26th 06 11:08 PM
VBAProject.otm not read anymore Dan Outlook and VBA 3 February 21st 06 07:21 PM
Can't find the VbaProject.OTM file :( yonina Outlook and VBA 2 February 2nd 06 06:51 PM


All times are GMT +1. The time now is 08:34 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-2025 Outlook Banter.
The comments are property of their posters.