If you only want VBA code to run for some users in Dynamics GP, Michael Johnson shows how to tackle that in his post Using GP Security to Control for which users VBA code runs
Using GP Security to Control for which users VBA code runs
Development & IntegrationInstall, Upgrade & Admin
Archived post from 2010. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.