Question : Dir vs Dir$

What is the difference between Dir and Dir$ in Excel VBA?

Answer : Dir vs Dir$

There really is no difference other than Dir$ forces the result to be a string type. A very slight performance improvement which is pretty much non-existent these days.

Kevin
Random Solutions  
 
programming4us programming4us