如何使用active X禁用excel保存和另存为功能

2024-12-15 09:49:26
推荐回答(1个)
回答1:

alt+f11
双击thisworkbook,添加下面的代码.
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Cancel = True
End Sub