Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all ,
i am facing
Wrong number of arguments or invalid property assignment: 'temp.UserPermissions.AllowExport' on running following macro
Sub HideXL
msgbox(ActiveDocument.GetProperties.UserPermissions.AllowExport)
temp=ActiveDocument.GetProperties.UserPermissions.AllowExport
if temp then
msgbox("Export allowed")
temp=ActiveDocument.GetProperties temp.UserPermissions.AllowExport =false
ActiveDocument.SetProperties temp
end if
End Sub
plz help
TOM