I had this question after viewing A Guide to Writing Understandable and Maintainable VBA Code
I see you suggested using data type prefixes that match the type of data being used (such as intXXX for an integer variable.)
However, in one code example you used this:
Dim nPos As Integer
First time I saw this, I was disturbed because it didn't follow the standard, but after having to go through some code where I had to change integer variables to longs, I found it frustrating to have to change all of my "i" (or "int") prefixes to "l" (or "lng")
So where do you stand on using an "n" prefix for numbers versus specific data types like "i" and "l" and maybe even "dbl" or "sng"?
Also, what prefixes do you add when creating a variety of objects such as Range and Worksheet?