MaxLength Property issues

J

JNW

I have a textbox on a userform that needs to allow different lengths of text
based on a radial selection. In the Optionbutton1_change event I tried
putting:

If optionbutton1.value = true then
textbox1.maxlength = 7
elseif optionbutton2.value = true then
textbox1.maxlength = 9
end if

But, when I try to execute it gives a compile error saying that the method
or data member can't be found.

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top