>>>>>>>>>>>>>>>>>
You can use something like this because it is portable between VBA and VB.
>>>>>>>>>>>>>>>>>
Right, but that example still requires a user action in every control/sub/function/class module method... which is what we are all wishing wasn't necessary (I believe, BTW, that there are tools out there that do this for you -- basically macros that fill in every method with such a constant... nonetheless, there are times where it's nice to be able to say, "where am I?", and receive a system-generated response).
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell