Excel批量删除工作簿里的样式vba代码: Sub Sample()
On Error Resume Next
Dim i As Long
Cont:
For i = 1 To ActiveWorkbook.Styles.Count
ActiveWorkbook.Styles(i).Delete
Next
If i > 2 Then
GoTo Cont
End If
End Sub
点击加入群:Excel部落结识Excel大神学好Excel,效率成倍提高,薪水稳步增长,职位快速提升
每天一个源创技巧,如觉得有用,请点上面关注。更重要手机转发分享