...or it could just be that you were missing the "$" from the front of the variable in your AScan() [Razz]