Constantly running VBA Script

Constantly running VBA Script

Hi All,
New to the Zenon platform, have to create a project with VBA logic as there is no PLC available to do the logic. This particular logic is to control the OneLine but there will be more. What I am trying to do is to run a VBA script every 1 or 2 seconds. I want to compare multuple variables and then set value depending on the status of these variables. How do I go about running a VBA script every 1 or 2 seconds? Thanks