Could someone tell me what's wrong with this code?
Posted by Cory on July 02, 2001 7:24 PM
The following return a the second condition of a "No" msgbox:
Private Sub lblCloseall_Click()
MsgBox "If you haven't saved your work you will be prompted to do so upon exiting. Would you like to coninue?", vbYesNo, "Quitting?"
If reponse = vbYes Then
MsgBox "You chose, ""yes"""
MsgBox "You chose, ""No"""
And this code gives me a runtime error 380 saying it cant set the text:
Private Sub cboSOpen_Exit(ByVal Cancel As MSForms.ReturnBoolean)
cboSOpen.Text = Format(cboSOpen.Text, "hh:mm AMPM")
cboSOpen.Value = Sheet4.Range("b3").Text