Yeah, you are right about those resets of Pocetnik. I'll implement some of your advices. Thanks a lot for the code, it works perfectly fast. I didnt know about this InStr function, well i heard about it, and ive seen it before but it didnt fell on my mind now when i needed it.

Resolved