If the Sub is a public Sub in the built-in ThisOutlookSession module, it
should be possible to call it as Application.MySub or whatever its name
is. --
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"JMat45" <(E-Mail Removed)> wrote in message
news

0325B32-3A15-4E5B-AABC-(E-Mail Removed)...
>I have created a custom OL form based on the Contact form. I want to save
> data from some of the fields to a text file. I want to initiate the save
> using the WRITE event. I have written the SUB in VBA to save the data, but
> can't call the SUB from the form VBS. What is the solution or workaround?
> --
> I ask, therefore I am.