我在这里遇到一个导致excel挂起的宏的问题。我尝试了几种选择并无休止地搜索。我有3种形式,但是分开。这是我的步骤:
下面的代码(请原谅不正确的格式,我不得不使用我的手机......无法通过电脑登录。)
Private sub lb_blah_DblClick (Byval Cancel as MSForms.ReturnBoolean)
Me.lbl_blah2.caption = "opening aND running"
'Open and edit xls - Works fine.
LoadAndFormat me.lb_blah.value
Me.lbl_blah2.caption = "Ran through format."
Me.repaint
'90 seconds with 29 sheets
'Me.hide
'Application.enableevents = false '70 seconds
Unload me '90 seconds - 29 sheets
End Sub
答案 0 :(得分:0)
我重新启动了计算机,这似乎解决了这个问题。对不起。