This is my first try at VBA. I have a UserForm with 4 textboxes for a user to input data. I have written a subroutine to use the data and perform some mathematical calculations. What code is needed for the subroutine to get the data entered in the textboxes so they can be used in the calculations? What code do I need in the textbox itself?
Example:
Private Sub TextBox1_Change()
(Code?????)
End Sub
Can I use textboxes to receive numerical data (i.e., numbers)?
I'm new at this so I may not have explained this well. Please let me know if you need more detail.
Example:
Private Sub TextBox1_Change()
(Code?????)
End Sub
Can I use textboxes to receive numerical data (i.e., numbers)?
I'm new at this so I may not have explained this well. Please let me know if you need more detail.