我使用EXCEL时出现了-不同单元格式太多的情况,导致EXCEL无法正常运行
我根据网站上的提示,在运用VBA编程来解决,但现在发生如下情况:
Sub DelStyls()
Dim s As Style
Application.ScreenUpdating = False
For Each s In ThisWorkbook.Styles
If Not s.BuiltIn Then s.Delete
Next
Application.ScreenUpdating = True
End Sub
运用此程序时,出现运行时错误“1004”:运用程序定义或对象定义错误
请问如何解决