Just beginning working with VB 2010, and I am puzzled as to why a variable is accepted in one place (DIM, and IF/THEN statements) and not being accepted in others (FOR/NEXT statement). I am actually dealing with a group of variables: V01 to V10 (as in V zero one to V ten). Could someone direct me as to what I might be doing wrong?

Peter Kelley
St. Paul, MN USA