protect方法
protect(self, protection_type, password)
保护工作簿。
def protect(self, protection_type, password):
...
范围 | 类型 | 描述 |
---|---|---|
protection_type | ProtectionType | 防护类型。 |
password | str | 用于保护工作簿的密码。 |
保护工作簿。
def protect(self, protection_type, password):
...
范围 | 类型 | 描述 |
---|---|---|
protection_type | ProtectionType | 防护类型。 |
password | str | 用于保护工作簿的密码。 |