I am getting an error of:
Object Required
VB Code:
  1. Private Sub txtTaxRate_Change(Index As Integer)
  2.     Select Case Index
  3.         Case 0
  4.             Format(lblTotalsAndTaxes(5).Caption, "0.00") = txtTaxRate(0).Text
  5.         Case 1
  6.             Format(lblTotalsAndTaxes(6).Caption, "0.00") = txtTaxRate(1).Text
  7.     End Select
  8. 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?