Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Lock a variable

I need to know how to execute a macro to lock a variable

I have this but it only works in one sheets, when I change of sheet the lock function stop to works

Sub Lock
Set q = ActiveDocument
q.LockAll
end sub

1 Reply
vupen
Partner - Creator
Partner - Creator

Call the same sub using the OnActivateSheet macro trigger.