U can do it by various ways depending upon your need. The one possible way is suppose u have two forms form1 and form2 and Form1 is startup module then write following code in form1...
Private Sub Form_Load()
xx Form2
End Sub
Private Sub xx(x As Object)
x.Show
End Sub
you can pass x as Form as well
Cheers,
Prabodh
|