I have a user form that contains a MultiPage control and within in each page there are a number of textboxes.
I have managed to write the code to get the TabIndex of currently active control
strMeasure is the label of the currently active control (textbox)
I am now struggling to focus on the next control(text box) using the intTabIndex variable.
TIA
I have managed to write the code to get the TabIndex of currently active control
strMeasure is the label of the currently active control (textbox)
Code:
intTabIndex = frmDataEntry.mpMeasures.Pages(frmDataEntry.mpMeasures.Value).Controls(strMeasureLabel).TabIndex + 1
TIA