dim cmd as commandbutton
set cmd=Controls.add("vb.commandbutton","Name")
cmd.visible=true

then u can set its left & top property