C
Craig
Hi,
I am looking for a way to unload UserForms. I can unload one, but need all
others to unload if vbYes is selected:
Code used is:
Private Sub CommandButton1_Click()
Range("A550", Range("A550").End(xlDown)).sort Range("B50"), xlAscending
Dim Res As VbMsgBoxResult
Res = MsgBox("This will sort data into Red, Amber & Green", vbOKCancel)
If Res = vbOK Then
Unload UserForm5
End If
End Sub
UserForm1 is selected prior to UserForm5 as sort is an option on UF5
Any help gratefully received
Many Thanks
Craig
I am looking for a way to unload UserForms. I can unload one, but need all
others to unload if vbYes is selected:
Code used is:
Private Sub CommandButton1_Click()
Range("A550", Range("A550").End(xlDown)).sort Range("B50"), xlAscending
Dim Res As VbMsgBoxResult
Res = MsgBox("This will sort data into Red, Amber & Green", vbOKCancel)
If Res = vbOK Then
Unload UserForm5
End If
End Sub
UserForm1 is selected prior to UserForm5 as sort is an option on UF5
Any help gratefully received
Many Thanks
Craig