Quote Originally Posted by MartinLiss
My code is meant for VB and not VBA. Are you using VB6?
I am using VB6 Enterprise Edition

What is the difference between VB and VBA?