Dustin Hunt said: I am getting an error
Thanks for finding a bug in the Named Group API! I've written a work-around. You can download the updated macro from our web site.
Here's a VBA implementation of the incarray MDL...
You can download the freeware VBA macro . As usual, the VBA project is not locked and you can browse the source code.