运行时错误 400 VBA

runtime error 400 VBA

我真的不知道我做错了。 Excel 一直运行良好,直到它在程序中途中断。 我有固定的代码,但现在我在打开 excel 表单时遇到问题。

每次我打开 excel 工作簿时都会出现运行时错误“400”。

我确实有这段代码弄得一团糟。

Private Sub Workbook_Open()
UserForm1.Show
End Sub

现在还说:

Code execution has been interrupted.

你不知道问题出在哪里吗? 谢谢

您已经打开了表单:https://msdn.microsoft.com/en-us/library/office/gg264359.aspx