Thanks Lee
No, Im not trying to access the layer properties.
I just want to close the 'layer properties manager' dialog if its open.
By default acad will have it open on start up if the last cad session had it open.
generally if a drawing contain a very large list of layers, it will take a few seconds longer to open a drawing.
Acad2011