This article can be found in the VBA/Dynamics Modifier section of the VBA for Dynamics GP menu. 
I've avoided blogging this because I always figured that it would just... go away, but I always seem to need something from here. 
Here's the standard adovbs.inc file. 
The whole thing needs to be wrapped in <%... %> if you really want to use it right... I usually just want a value