Well Mr Mullin Sir, I have been working on your hint for the past few days and I have learnt a lot, including the following;
{} can only be used to comment out one line at a time, and certainly not blocks of other {} braces?
How do you comment out a whole block of code easily?
I got the ForEachObjectInLayer command to traverse deeply, return the class of each object, then hide that class. It was actually really easy!
I still can't workout how your snippet of code returns a handle to a selected object on another layer though. Why does "if Selected(H)" not simply return "true" if an object on any layer is selected?
Maybe if you can be bothered, you could explain how it works please.
If you are too busy, then no worries mate, I unnerstand!
Thanks in advance
Mat