txnelson,
post this add-in a while ago.. It is very useful however i would like to know how to incorperate this into a script without having to do all the selections. That is unless there is a better version of this somewhere.. The post was back 5 years ago so i am not sure if there is something newer.
dave