me again
I need some help with userforms. I am using a form to allow a user to select a month that will then run a macro to compile some data for reporting puroposes. I want to allow the user to close the form with the cross
I am using this code
but this seems to run the macro behind it anyway which is what I DONT want it to do. any suggestions?
I need some help with userforms. I am using a form to allow a user to select a month that will then run a macro to compile some data for reporting puroposes. I want to allow the user to close the form with the cross
I am using this code
Code:
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
Unload userform1
userform1.hide
End Sub
but this seems to run the macro behind it anyway which is what I DONT want it to do. any suggestions?