In reply to ronan.

Ronan, good observations. Your experience with concatenated libraries is similar to mine. As I responded to Peter, I think it's a strange case but one that a robust macro function must consider.

I think you also encountered the misplaced parenthesis that I had in my original version -- another alert reader pointed that out and I fixed it.