在语句的开头加一个单引号(')就是注释,例如以下程序中第三句代码就是注释掉了。
删掉',就是取消注释
Private Sub CommandButton1_Click()On Error Resume Next'Call ConnectUserForm1.Show 0End Sub
如图所示