JBShandrew
Board Regular
- Joined
- Apr 17, 2011
- Messages
- 54
Hi everyone,
Thank you all for the help you give me, to help me learn VBA. I am recreating an electronic form in VBA that was done in Excel with just formuls, and have incorporated input boxes in a few fields, that need to be filled out.
Now I need to limit the characters that can be entered in to the Input Box to 20 characters due to the limit of the width of the form.
This is what I have, and thanks to answers to my questions, is working very well.
.Range("$G$57").Value = StrConv(InputBox("Enter Your Title", _
" Field Inspector's Name", "Field Inspector" , 925, 11000), vbProperCase)
Can I add something in this line of code to limit the character length? If not, can you kindly show me how?
Thank you in Advance.
Sincerely,
J.B.
Thank you all for the help you give me, to help me learn VBA. I am recreating an electronic form in VBA that was done in Excel with just formuls, and have incorporated input boxes in a few fields, that need to be filled out.
Now I need to limit the characters that can be entered in to the Input Box to 20 characters due to the limit of the width of the form.
This is what I have, and thanks to answers to my questions, is working very well.
.Range("$G$57").Value = StrConv(InputBox("Enter Your Title", _
" Field Inspector's Name", "Field Inspector" , 925, 11000), vbProperCase)
Can I add something in this line of code to limit the character length? If not, can you kindly show me how?
Thank you in Advance.
Sincerely,
J.B.