Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
SunilChauhan
Champion II
Champion II

problem with macro

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

msgbox(ActiveDocument.GetProperties.UserPermissions.AllowExport)

end if

End Sub

plz help

TOM

Sunil Chauhan
0 Replies