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.clssrc/M_cPM_TIMEWASTERS.bas
Optional companion files
These are optional but useful:
examples/M_cPM_USAGE_EXAMPLES.basexamples/M_cPM_DEMO.basexamples/M_DEMO_BUILDER.bastest/M_cPM_TEST.bas
Import steps
- Open the target workbook, add-in, or VBA project.
- Open the VBA Editor with
ALT + F11. - Select the target VBA project.
- Import:
cPerformanceManager.clsM_cPM_TIMEWASTERS.bas
- Optionally import the example, demo, builder, and test modules.
- Save as a macro-enabled file such as
.xlsm,.xlam, or.xlsb. - 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