With slight modifications code works what I needed and for details using Format Painter.

Thank you.