Thanks for the script. I have one more related question. If I do a find and replace on a enum constant, can I have multiple criteria? Right now, when I do find, the only criteria is enum constant object. I want to find enum constant with the label "enum123".
No, the Find dialog doesn't have that capability. You could do that by modifying the VI I gave you so when you iterate through the controls you check to first see if it's an enum, and then check, for example, the item names. If they match what you're looking for, then that's a control that needs to be replaced.