Iterating through control properties.

R

Randy MacDonald

Within an add-in, I would like to iterate through all of
the properties of all of the controls on the selected
form, and generate a report.

For form type components the VBComponent.Properties
contains a "Controls" property that returns the controls
of the form, and iterating this seems to be easy enough.
But I can't find a way to iterate through the properties
of the individual controls. I would like a "Properties"
collection for the control, but there doesn't appear to be
such a thing.

Does anyone out there know how to accomplish this? Surely
it must be easy, and I am just overlooking something
obvious.

Thanks,
Randy
 

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