Macro for rounded outline

Hello everyone

Does anyone know a macro code to leave rounded contour?