how to convert a frame into an empty text frame using a macro?

how to convert a frame into an empty text frame using a macro?

Thank you!

Sorry for my english - translate translator.