Sub 加密() '密码1234 ThisWorkbook.SaveAs Filename:=ThisWorkbook.FullName, _ Password:="1234", WriteResPassword:="1234" End Sub Sub 改颜色() Sheets("2").Cells.Font.ColorIndex = 2 End Sub
Sub 加密() '密码1234 ThisWorkbook.SaveAs Filename:=ThisWorkbook.FullName, _ Password:="1234", WriteResPassword:="1234" End Sub Sub 改颜色() Sheets("2").Cells.Font.ColorIndex = 2 End Sub