K
Kevin
experiementing with vba out of a book
have a command button on a recordsource-less form and am trying to open a
second form with some properties set using With ... End With
cause run-time error 2465 -- application-defned or object-defined error
Private Sub Command0_Click()
Dim frmSongs As Form
Set frmSongs = Forms!Form1
With frmSongs
.Top = 1000
.Left = 1000
.Width = 5000
.Height = 4000
End With
End Sub
have a command button on a recordsource-less form and am trying to open a
second form with some properties set using With ... End With
cause run-time error 2465 -- application-defned or object-defined error
Private Sub Command0_Click()
Dim frmSongs As Form
Set frmSongs = Forms!Form1
With frmSongs
.Top = 1000
.Left = 1000
.Width = 5000
.Height = 4000
End With
End Sub