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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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