Locking a layer is easy enough - I believe its oLayer.Lock = True. You could then try finding out if an event is fired whenever a layer is unlocked, test for your layer name and relock it. You could also check the endcommand event, test to see if it was one of the layer commands and, again, test the status of your locked layer. Not sure if these suggestions will work, but that's what I'd try. ___________________________ Mike Tuersley CADalyst's AutoCAD Clinic Rand IMAGINiT Technologies