HomeTechniques and TipsVBA Programming with @RISKName Conflicts with @RISK VBA Code?

10.19. Name Conflicts with @RISK VBA Code?

Applies to: @RISK 6.x/7.x

I'm writing my own VBA code, and I'm concerned my variable names may inadvertently conflict with @RISK's name space. Do you have a list of names I should consider reserved?

If you stay away from names that begin with "Risk", you should be fine.

There's a small number of exceptions, legacy global names: GridData, GridStatistics, LegendNotDisplayed, LegendWithoutStatistics, LegendWithStatistics.

Last edited: 2015-08-31

This page was: Helpful | Not Helpful