I am currently involved in porting a large and complicated VBA application to .NET 4.0.
In .NET I have access to the Profiling API, which I have used to instrument an assembly to extract information about when classes are constructed, methods called, etc.
Is there an equivalent for VBA? That is, some sort of callback system so I can write code which will be notified of events within VBA code as it executes? I've spent some time on Google and contacted several VBA gurus, but to no avail.