I am getting an error of:
VB Code:
Private Sub txtTaxRate_Change(Index As Integer)
Select Case Index
Case 0
Format(lblTotalsAndTaxes(5).Caption, "0.00") = txtTaxRate(0).Text
Case 1
Format(lblTotalsAndTaxes(6).Caption, "0.00") = txtTaxRate(1).Text
End Select
End Sub
If I do not format the labels (where the output is sent), it works but doesnt have the right format, but as soon as I format, I get the error. If I put the textboxes first, I am unable to update the text boxes and then the output doesnt happen. What should I do?