Kerry.
I tried your code and it not skipping the group command.
Daron.
You have a lot of guestions and remarks, and i can you tell you that the whole routine is working except the skipping part.And the answer for the last question is the following.I want the routine to skip the making of a group when i am in a refedit no mather what block i am editing.And how to do this i don't know.
Well, it looks like Kerry is more than willing and capable of getting your problem solved. Of course, your patience in his questions will teach you a lot. When you get that part resolved, you might consider the idea that just because it works, doesn't mean it always will. Eventually, someone will purge that layer you turn on and you'll pull one of these -> :pissed: :realmad: <- because you can't figure out why it no longer works.