Hi. I have a userform to load data into a spreadsheet. I want to use a label to hold a calculated value. What I'm trying to do is take the values from 2 text boxes, calculate a percentage, and then place the result in a label. I've tried every combination I can think of but the result is always zero. What I have so far is below. I appreciate any help. This one is driving me nuts. Thanks.
![]()
Private Sub lblPercentCACFP_Click() lblPercentCACFP.Caption = txtCACFPhrs.text / txtWorkHrs.text End Sub
Bookmarks