The syntax of “CreateObject” in VB/ VBA is
“CreateObject(Class As String, [ServerName As String])”
So if i want to use CreateObject method in VB or VBA for creating any control at runtime then I have to pass “Class” parameter. So how can I find a “Class” for a particular object. That is, if I want to find what is to be passed in “Class” parameter, if I want to create a TextBox using CreateObject method, then how can i find what is to be passed. Is there any code available to find.