Well, either you have a really old version of vb, or you need to declare it/ take out option explicit(sp?).