Hello .
I have made a customized control on my workbook which consists of on option button (Name SRQCOb) and a label (Name SRQCL). This new control is named SRQC.
How can I add an SRQC customized control on my Form (Name Userform1) on runtime? I tried
and![]()
dim ctrl as object set ctrl = userform1.controls.add("Forms.SRQC.1")
but I get an invalid class string error for each case.![]()
dim ctrl as object set ctrl = userform1.controls.add("SRQC")
Any advices are welcome.
Bookmarks