如题,我的代码这样:
private withevents newobj as commandbutton  Set NewObj = Controls.Add("VB.CommandButton", "Cmd1") '这里的Cmd1写成Cmd1(0)就出错
   With NewObj
      .Visible = True
      .Width = 2000
      .Caption = "OK"
      .Top = 1000
      .Left = 1000
   End With
请问该怎么写?