D
Doug Bell
G'Day,
Sorry but one more question on Excel Forms,
I have a button on a toolbar with OnAction set to "dacOpenFrm(1)"
sub dacOpenFrm opens a form called frmAddlin
frmAddLin has a CommandButton control called "Cancel" with code:
Private Sub cmdCancel_Click()
Unload frmAddLine
End Sub
Everything works except that you have to click the button twice.
The first click doesn't do anything.
The form has the focus and you can move between controls but the first click
on the button doesn't do anything.
Doug
Sorry but one more question on Excel Forms,
I have a button on a toolbar with OnAction set to "dacOpenFrm(1)"
sub dacOpenFrm opens a form called frmAddlin
frmAddLin has a CommandButton control called "Cancel" with code:
Private Sub cmdCancel_Click()
Unload frmAddLine
End Sub
Everything works except that you have to click the button twice.
The first click doesn't do anything.
The form has the focus and you can move between controls but the first click
on the button doesn't do anything.
Doug