Thank you very much for the link, I think it could end up helping me in the future. For the time being, my legend is getting far to long with layers, is there a simpe way to set a icon or something to open/close a group in order to make my legend more user friendly. Thanks, Matt