Calculate automatic permissions by vbs

Hello friends,

I would like to know if the automatic permissions can be calculated by means of a vbs, depending on what they choose in a list of values? If you have any examples I would appreciate it. I don't give automatic permissions with the value of the list of values because the list of values is used in many other documents and it could interfere with other processes.

Thanks for your help,