What I mean is: If while working in a multi-tab (page) form, and the user
merely selects a certain tab (page), then some text box on that page would
get set to a value. Hope that makes it clearer.
The tab will contain a value (the tab number). Set it so when the value of the tab is the required tab number then the event occurs. E.g.
tab1 = value 1, etc
So if tab1.value = 1 then....
Hi Ron; I copied your code and changed it as follows to match my tab number
and text box name, however it did not set the text box value. Am I doing
something wrong?
Private Sub tab1_Change()
If tab1.Value = 7 Then
Me.txtChkd.Value = 1
End If
End Sub
OOPS! I forgot to change the tab name! Thanks to you and Samantha both!
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.