我收到错误
的方法或数据成员
在下面的代码
Private Sub Workbook_BeforeClose(Cancel As Boolean)
UserForm1.CommandButton2.Visible = True
UserForm1.CommandButton1.Visible = False
UserForm1.TextBox1.Visible = False
UserForm1.TextBox2.Visible = False
UserForm1.Label1.Visible = False
UserForm1.Label2.Visible = False
UserForm1.TextBox4.Visible = True
UserForm1.ComboBox1.Visible = True
UserForm1.ComboBox2.Visible = True
UserForm1.ComboBox3.Visible = True
UserForm1.TextBox23.Visible = True
UserForm1.Show
End Sub