Código:
Private Sub Command1_Click()
Dim bd As Database
Dim tb As Recordset
Set bd = Workspaces(0).OpenDatabase("C:\Documents and Settings\USER\Escritorio\bd1.mdb")
Set tb = bd.OpenRecordset("tabla1")
If tb!User = Text1.Text And tb!pass = Text2.Text Then
Unload Me
Form3.Show
Else
MsgBox ("Datos incorrectos")
tb.Close
bd.Close
Set tb = Nothing
Set bd = Nothing
End If
Gracias otra vez CeLaYa.