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

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



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

 




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
How to select folder when running rule via VBA? John Outlook and VBA 1 February 10th 09 08:01 PM
Problem with macro running from rule Teki Add-ins for Outlook 3 September 4th 08 03:09 PM
How to setup a rule to forward rule in Outlook (xp or 2003) to forward emails from a certain domain when app isnt running? KingCronos Outlook - General Queries 7 November 15th 06 12:22 PM
Problem running a VBA script from an Outlook rule Olivier Langlois Outlook and VBA 5 March 16th 06 10:03 PM
Create a re-running rule JDR Outlook - General Queries 2 February 15th 06 10:17 PM


All times are GMT +1. The time now is 08:02 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.