Thanks a lot.

Macro is working fine.

1 more favour.
Currently, monthwise files (based on col. S) are generated in the new files.
Can we have the monthwise sheets in the main file itself also ?

Please assist.