In UserForm1 code. You will find below line.
Basically, Counts item in AllNews sheet that meets "News/Year/*" and add that number + 1 as News ID.
Since ExpiredNews can move from AllNews sheet to ExpiredNews. It will not be unique ID.
Ex. You had News/2017/1 to News/2017/10 in AllNews. Then moved 1 to 5 to ExpiredNews. Then next item created will have News/2017/6 as ID (which will be duplicate ID).
As long as you don't move items that are in same year to ExpiredNews. You will have Unique ID generated in order.
Bookmarks