I'm trying to find or develop some VBA to dynamically generate form fields (labels and textboxes).
The source data is a table on a hidden Excel worksheet.
Any ideas?
You can generate new items in the Forms Controls collection by using the Add method specifying the type of control using its CLSID.
This article Dynamic Excel Forms using VBA has some example code.
This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
about » faq »
tagged
asked
2 years ago
viewed
2,052 times
active
1 year ago