Thanks for this. Iam pretty much new to Catia VBA programming. I do well in excel VBA but translating my skills to CATvba has been a challenge. I have another thread in the forums. I posted the code that I am working on would you mind taking a look at it also?