SETTING CONDITIONAL BREAKPOINTS USING DEBUG.ASSERT


With the Assert method of the Debug object, you can cause the VBA compiler to enter break mode only if a particular expression generates a FALSE result.