Why is this not changing the caption when the button is clicked..I want it to change from "Continue" to "Processing..." and it does not work...
this is in a form called PCRForm
this is in a form called PCRForm
Code:
Private Sub CommandButton1_Click()
If LabelNumberTextBox.Value = "" Then
MsgBox "Enter a LabelNumber"
ElseIf ComboBoxFrameType.Value = "" Then
MsgBox "Select a Frame Type"
ElseIf ProductTypeComboBox.Value = "" Then
MsgBox "Select a Product Type"
Else ' begin processing
PCRForm.CommandButton1.Caption = "Processing..."
ConvertToPCRFormat
PCRForm.Hide
End If
End Sub