Use an Undocumented Immediate Window Function to Evaluate Expressions
The code will work in VB5, Office/VBA, and VB6, but if you are not using VB6, you have to change the API declaration. The changes are in comments within the .bas module.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.