如果能从指定的工作簿中删除个人信息,则该值为 True。默认值为 False。Boolean 类型,可读写。
expression.RemovePersonalInformation
expression 必需。该表达式返回“应用于”列表中的对象之一。
在本示例中,Microsoft Excel 判断是否能从指定的工作簿中删除个人信息,并通知用户。
Sub UsePersonalInformation()
Dim wkbOne As Workbook
Set wkbOne = Application.ActiveWorkbook
' Determine settings and notify user.
If wkbOne.RemovePersonalInformation = True Then
MsgBox "Personal information can be removed."
Else
MsgBox "Personal information cannot be removed."
End If
End Sub