Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   How to use a form from a rule running on the inbox (http://www.outlookbanter.com/outlook-vba/91571-how-use-form-rule-running.html)

Peter Hofman June 15th 09 12:54 PM

How to use a form from a rule running on the inbox
 
I have been trying to start a form from a vba sub that is configured in the
Rules wizard.

I have troubles getting the form initialized, and getting back the data from
it. The form shows up, but with an uninitialized combobox, and a non working
commandbutton.

I probably need to do something in ThisOutlookSession module, but what.

When I run the form from the VBA editor, it works correctly. When the rule
is run, it is not.

Any suggestions?

Regards,
Peter

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

Michael Bauer [MVP - Outlook] June 15th 09 04:18 PM

How to use a form from a rule running on the inbox
 


Please show the code.

--
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 Mon, 15 Jun 2009 19:54:47 +0800 schrieb Peter Hofman:

I have been trying to start a form from a vba sub that is configured in

the
Rules wizard.

I have troubles getting the form initialized, and getting back the data

from
it. The form shows up, but with an uninitialized combobox, and a non

working
commandbutton.

I probably need to do something in ThisOutlookSession module, but what.

When I run the form from the VBA editor, it works correctly. When the rule
is run, it is not.

Any suggestions?

Regards,
Peter

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