macropod said:
It wasn't meant to be belittling, but I can't see how using the automatic type
conversion tools built into vba in any riskier than doing it manually -
regardless of what happened with an app (vb3) that was superseded over a decade
ago.
If there is a material risk doing this in vba, please say what it is. AFAIK, all
vba implementations support it.
As we found in the VB3/VB4 transition days, the real risk was in trusting default
behaviors to remain consistent through time. As things stand, ClassicVB is now
probably *the* most stable language on the planet, eh? <g> But that doesn't mean
VBA isn't subject to some "cleaning up" in the future. The bottom line is, if you
don't depend on default behaviors (automatic coercions, default properties, and so
on), your code can't change behavior in future versions just because some young pup
at MSFT (probably sitting on a copy of Code Complete, so he can reach the keyboard)
decides that VBA could be cooler if only [fill-in-the-blank]. Is it a material
risk? Considering the history (see my sig), it's only immaterial if you consider
your code to be disposable.