Eh DOC,
Looks like it could be useful in AD. In NT4's UsrMgr, you can select a whole bunch of users and do a group modify on them. I haven't figured out a way to do that in AD.

Looking over the code, I'm counting one less ENDIF than IFs. It seems the deepest nested IF is missing an ENDIF. Can you verify the code to see if anything else is missing?

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.