Finding out the type of control

J

JJ

I have a userform with various controls in it. I iterate
the controls with with "For Each ctl in
ActiveDocument.Userform.Controls..."
How can I find out, what type that control is (ie.
textbox)? In other words, how can I go trough all
textboxes but not other controls? I know, that is should
be quite easy, but I can't work it out easily...
Thanks for any help.

JJ
 

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

Top