I am building a map designing program that uses the value of points in a matrix to tell it what type of map to show. however I cannot say :If [A](X,Y) = 4 because it will not except the value X as a legitimate value. does anyone know a way to fix this? or a way around it? Thanks Matt romman@cinci.rr.com