Hello mazan

Originally Posted by
mazan2010
....
why every time i enter new data in column A give me message for already product i enter before
.....
why it look for another data i already enter before
i want to look only to current data i enter now and if it available or the folder is present before
I do do ( that did ), because I not too sure was what exactly you did want.
I try to make code flexible and explain all so you can try to modify to make it exactly as you want.
Try change it...
How about this....
Idea I do think.. not too good idea.. but it work.. ( if you try to understand the codes you should be able to think of other ways: )
So
Change
To
_...
I explain you now how the new Code works:
Only now on IF last Folder name we are at ( Last indices is UBound(arrFolderNames()) – in this example it is 4 ) Then do Message Box
( _.....
Cnt is done For 1 , 2 , 3 , 4 ( Lr1 = 4 )
Array arrFolderNames() is { XYT , ACDC ,XYT , XYT } .... )
_......................................
Alan
Bookmarks