FryGirl
Well-known Member
- Joined
- Nov 11, 2008
- Messages
- 1,368
- Office Version
- 365
- 2016
- Platform
- Windows
I have a userform where the user will input a number into a textbox and that value should be passed to a vba procedure for use as a variable.
I have declared the variable in vba as long, but when stepping through the procedure it show this line as ""
I have declared the variable in vba as long, but when stepping through the procedure it show this line as ""
Code:
i = Val(frmUserForm.txtnumber.Text)