
module sub called from within form
Although you can call
VBA procedures from
VBScript code in a form, it
is not recommended and may not work in the future. The procedure must
be in the ThisOutlookSession class module though.
Take a look at this MS KB article, it discusses this and shows how to
do it:
http://support.microsoft.com/support/kb/articles/q221/8/27.asp
You can also get this article by sending an E-mail with a subject of
--
Ken Slovak
[MVP - Outlook]
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
Appendices, Sams
Quote:
> Hi,
> I created a new module with a public sub TestIt() in OTL 2000. I
also
> created a user-designed contact-from. Now I want to have outlook
calling my
> sub TestIt by opening the form. How can I do it?
> Thank you, Utz
> --
> ---
> www.edv-loesungen.com
> ---