Installation and Import - danielep71/VBA-Performance_Manager GitHub Wiki

Installation and Import

This page explains how to install cPerformanceManager into an Excel VBA project, which files are required, and how to verify that the import was completed correctly.

Required files

For the current documented version, import both of the following:

  • src/cPerformanceManager.cls
  • src/M_cPM_TIMEWASTERS.bas

Optional companion files

These are optional but useful:

  • examples/M_cPM_USAGE_EXAMPLES.bas
  • examples/M_cPM_DEMO.bas
  • examples/M_DEMO_BUILDER.bas
  • test/M_cPM_TEST.bas

Import steps

  1. Open the target workbook, add-in, or VBA project.
  2. Open the VBA Editor with ALT + F11.
  3. Select the target VBA project.
  4. Import:
    • cPerformanceManager.cls
    • M_cPM_TIMEWASTERS.bas
  5. Optionally import the example, demo, builder, and test modules.
  6. Save as a macro-enabled file such as .xlsm, .xlam, or .xlsb.
  7. Compile with Debug > Compile VBAProject.

First verification step

After import, go to Quick Start and run the first small timing example.

Optional deeper validation

If you imported the regression harness, run the regression suite from the /test folder to validate:

  • core timing
  • strict vs non-strict behavior
  • pause helpers
  • TW lifecycle
  • checkpoint/reporting surfaces