Form-Tab Click

  • Thread starter Thread starter Barb
  • Start date Start date
B

Barb

Was wondering if there is an event in Outlook that can be
invoked when the client clicks on one of the tabs on the
form?

Sub pagename_Click()
'Code
End Sub

If there is, what if the name of the page/tab has spaces
in it?

Thanks.

Barb
 
I read that in a "VBscript in a Nutshell" book and was
hoping that Outlook could do the same.

I am using a TASK form and on the second tab I have a text
box (txtFourWeekDate). Have created a "Function
dGetPeriodDueDate(dteDueDateIn, intPeriodDateOffset)"
function, but not sure how to pull it into the text
box "txtFourWeekDate". I was trying a CustomChangeEvent,
but that does not seem to be working for me. Any
suggestions? Thanks.

Barb
 
Without seeing a code sample that explains that dteDueDateIn etc. are, it's
hard to say. See http://www.slipstick.com/dev/propsyntax.htm for correct
usage of events that fire when users interact with the form.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top