Just an additional warning, XL should not be used a completely secure database. No amount of passwords (either internal or through coding) can stop someone determined enough. If the intent is simply to keep people from messing things up, or prevent the accidental viewing, you're okay. If you're storing sensitive data (SSN's, salaries, etc), you need to use an alternative method.