I am trying to make the format in text1 currency. Here's my code any help would be appreciated.
Private Sub Command1_Click()
On Error Resume Next
Dim AnhCost As Currency, AnhRate As Integer
AnhCost = InputBox$("Enter the cost of ahydrous.", "Anhydrous Cost"
AnhRate = InputBox$("Enter the rate of anhydrous per acre."
Text1.Text = (AnhRate \ 0.82) * AnhCost
End Sub
Private Sub Command1_Click()
On Error Resume Next
Dim AnhCost As Currency, AnhRate As Integer
AnhCost = InputBox$("Enter the cost of ahydrous.", "Anhydrous Cost"
AnhRate = InputBox$("Enter the rate of anhydrous per acre."
Text1.Text = (AnhRate \ 0.82) * AnhCost
End Sub