2 VBScript subroutines don't work together

B

Barry

I am writing some very basic code in the VB Script window
of an Outlook Message Form. I have a number of combi boxes
and I want the possible values of one combi-box to be
dependent on the value chosen in another. I have written 2
subroutines which when entered in the Script window
individually work perfectly. However, when I have both
subroutines in the script window, only the subroutine that
is written second in the Script window seems to work when
I run the form. Each subroutine applies to different combi-
boxes - i.e. there's no items on the form that are common
to both subroutines.

Each subroutine begins with:
Sub Item_CustomPropertyChange(ByVal
NameofCombiBoxItAppliesTo)
Set objPage = Item.GetInspector.ModifiedFormPages
("Message")

Any help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top