>Has anyone figured out a way to define the structure of a UDT at runtime?
UDT are compiled so they can't be created at run-time.
But, without knowing your needs, you may try another technique:
-a multi-dimensional dynamic array.
-a collection.
-XML.
-and surely others!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com