There is a certain visual appeal for the OCD in using frames. :P
What I'm stuck in now is determining where focus lies.
I have a subroutine in my form that does this:
Private Sub LocalLookUp(strDataCell$)
Dim strCellData$, frmActive$
frmActive = F01_InputForm.ActiveControl.Name
strCellData = Sheets(1).Range(strDataCell)
Select Case strCellData
Case vbNullString
' NOOP
Case Else
Select Case F01_InputForm.ActiveControl.Name
Case "frSRC"
With frSRC
frmActive = frSRC.ActiveControl.Name & "IP"
frSRC(frmActive).SetFocus
.ActiveControl = NSLookupLoop(strCellData)
End With
Case "frDST"
With frDST
frmActive = frDST.ActiveControl.Name & "IP"
frDST(frmActive).SetFocus
.ActiveControl = NSLookupLoop(strCellData)
End With
End Select
End Select
End Sub
What I do not like is the way I had to determine which frame I'm in to then deal with the correct 'Focus' item.
There has got to be a better wat to determine both the frame and the active control in one step.
Bookmarks