>Hi,
> How could I get the amount of specific controls in a container e.g. only command button?? After, It would let me to reference it...
>Thank you
Sorry, I missed one thing from you post. If you want to check for specific control, then you may loop through Controls() array, checking for Baseclass="Commandbutton".
Another way is to use SetALL(,,"commandbutton"), if possible
Edward Pikman
Independent Consultant