How to stop VBA code running?

后端 未结 7 801
臣服心动
臣服心动 2020-12-08 11:22

Say I have a button embedded into my spreadsheet that launches some VBA function.

Private Sub CommandButton1_Click()
    SomeVBASub
End Sub

Private Sub Some         


        
7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 12:09

    ~ For those using custom input box

    Private Sub CommandButton1_Click()
    
    DoCmd.Close acForm, Me.Name
    End
    
    End Sub
    

提交回复
热议问题