VBA禁止更改工作表名称

'VBA禁止更改工作表名称
Private Sub workbook_sheetselectionchange(ByVal sh As Object, ByVal target As Range)

    If Sheet16.Name <> "数据" Then Sheet16.Name = "数据"
     ThisWorkbook.Save

End Sub
    原文作者:B2_F22
    原文地址: https://blog.csdn.net/rocket2020/article/details/117160638
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞