@DanThomas, this is another incredibly useful macro! Thanks so much for sharing your time and expertise.
Others may not be aware of one of your other amazing macros: Palette Organizer. It's a great tool if one wants to rearrange the items in a group for a Conflict Palette including a group for Quick Access Palette (or menubar menu for KM 10+).