Hello imav,
Welcome to the Forum!
Your code sample is as simple as it can be written. It it difficult to answer a question such as yours without seeing more code and more details about what you want to accomplish with this project.
If you can, you should post the workbook. Please remove or change any information of personal nature or what your company considers confidential. If you need to scale down the workbook then it should be faithful to original in data layout, formulas, and any VBA code. Please include before and after examples of the data along with any comments.
Bookmarks