How do you jump between mdi childs? I loaded them with this:
and now, say when I hit command1, I want the one that says document3 to come to the front. How?Code:Public Sub CreateNewDocument()
Static DocCount As Long
Dim frmDoc As frmDocument
Set frmDoc = New frmDocument
DocCount = DocCount + 1
frmDoc.Caption = "Document " & DocCount
DoEvents
frmDoc.Move 0, 0
frmDoc.Show
End Sub
