Unused Variable Analysis

The Unused Variable Analysis feature in Total Visual CodeTools helps you detect and eliminate unnecessary code from your VB6 and VBA projects. Quickly find code that's defined but never referenced or used. This includes:

  • Unused variables defined at the procedure, module, and project/global levels through Dim, Public, and Private statements
  • Unused procedure parameters
  • Unused constants
  • Unused classes
  • Unused user defined types and their elements

Select the procedure, module, or all the modules to analyze. The results are presented in an HTML report for you to review:

Unused Variable Analysis in Total Visual CodeTools for VB6 and VBA
Details...