I have at main.form a hidden dummy label, on event when it changes I jump to popup(forced)
Its caption get sa value if in a sub is a error like:
Private sub Something
on error goto Report
Thelabel.caption= " error n# " & str$(err) & " in line " & str$(erl) & "in submodule: & ??? ????????? now here i would like to add the name of this sub???
so the label will show " error n# x in line x in module Someting
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.