29-12-2006, 09:20 PM
Spodi Wrote:I wouldn't really worry too much about these kinds of optimizations unless you are very, very desperate for speed (or the routine is being used a few hundred times per second). When saying "" < vbNullString, we're basically saying 0.001ms < 0.0008ms. Point being, slightly slower then fast is still fast. :wink:
I am not saying you should just go through your source and replace all '""' with vbNullString (but you can in the right circumstances), but that you should get into the habit of writing it instead of "".
Good habits are very valuable in programming