Why does Showing a UserForm as Modal Stop Code Execution?

后端 未结 5 1609
遇见更好的自我
遇见更好的自我 2020-12-16 02:29

The following VBA code stops at Me.Show. From my tests, it seems that Me.Show stops all code execution, even if the code is inside the UserForm.

5条回答
  •  失恋的感觉
    2020-12-16 03:20

    I don't really know whats going into your mind because there are a wide variety of code for what your are asking but i hope that this can help

    Private Sub cmdSwitch_Click() UserForm1.Hide UserForm2.Show

    End Sub

提交回复
热议问题