请双击 CommandButton1 即可进入 CommandButton.Click() 事件代码:
Private Sub CommandButton1_Click() ' 在这里写入代码即可.End Sub
窗体控件才能制定宏,AX控件是直接在里面写程序