XLS Padlock Guide
XLS Padlock Guide

Script structure

 

 

VBA Code Protection > Supported VBA syntax by compiler > Script structure

 

Script structure is made of function and sub declarations.

 

SUB DoSomething
   CallSomething
END SUB

 

FUNCTION MyFunction
   MyFunction = "Ok!"
END FUNCTION

 

SUB DoSomethingElse
   CallSomething
END SUB

 

Statements in a single line can be separated by ":" character.

 

Identifiers