In this post:

Monitoring which code component has been executed and how much time (highest precision!) it took.

Service

The Common-VBA-Execution-Trace-Service provides the means to trace the execution of any procedure or code snippet, writing the trace result to a log file which defaults to ThisWorkbook’s parent folder named ExecTrace.log.

The below example resulted from the module’s regression test:

Installation

Download mTrc.bas and import it into your VB-Project.

See the README in Common-VBA-Execution-Trace-Service for detailed information about how to use it.