快表软件's Archiver
论坛
›
ExcelVBA开发
› 删除Excel自定义样式VBA
hessen
发表于 2021-9-3 13:39:37
删除Excel自定义样式VBA
删除自定义样式的VBA,一个个删除比较麻烦,可以批量删除
Sub DelStyle()
Dim istyle As Style
On Error Resume Next
For Each istyle In ActiveWorkbook.Styles
If Not istyle.BuiltIn Then
istyle.Delete
End If
Next istyle
End Sub
页:
[1]
查看完整版本:
删除Excel自定义样式VBA