I have a feeling that grouping userform controls is a design aid and isn't available at runtime.
An alternative is probably possible depending on what "for later use in code" means.