I remember reading somewhere that this isnt possible, which I found hard to believe (especially since I am sure everyone has seen it done already at one time or another). The below code was supposed to be for VB (but works just as well for VBA)
The below code was found at...
http://www.vb-helper.com/howtoint.htm
====== Begin Code Block ========[tt]
[color blue]Option Explicit[/color]
You can download a sample project which utilizes this from their website. It's not easy to find, so here is the link...
http://www.vb-helper.com/HowTo/browsdir.zip
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.