E
Edwin Tam
[Excel 2004]
I posted earlier that, if the "End" statement is included in the "Click"
event of a button on an UserForm, for unknown reasons, the form doesn't
(always) dismiss when the button is clicked.
In order to ensure the form successfully dismisses, you need to add a line:
Me.Hide
before the End statement.
I referred to other VB literature, including VB 2003.NET Unleashed for the
"standard" coding of forms, I confirmed that the "End" statement SHOULD
always be reasonably be expected to be able to dismiss a form.
I hate this. Microsoft please fix this fundamental bug!!
Regards,
Edwin Tam
(e-mail address removed)
http://www.vonixx.com
I posted earlier that, if the "End" statement is included in the "Click"
event of a button on an UserForm, for unknown reasons, the form doesn't
(always) dismiss when the button is clicked.
In order to ensure the form successfully dismisses, you need to add a line:
Me.Hide
before the End statement.
I referred to other VB literature, including VB 2003.NET Unleashed for the
"standard" coding of forms, I confirmed that the "End" statement SHOULD
always be reasonably be expected to be able to dismiss a form.
I hate this. Microsoft please fix this fundamental bug!!
Regards,
Edwin Tam
(e-mail address removed)
http://www.vonixx.com