Howdy. One of the best ways to do this is to set your Options in VBE (under Tools) to be sure to check these: "declare all variables" and "Autolist". The first will help you avoid errors, and will point out specific problems with code (by line/name). This insures consistent, good programming practice.