Why not use @UserID Les? Are you saying to pull the logged on user from the registry instead? If so, then what's the point of that macro?