Hi all,
I am having a problem with a VBA code I wrote. This code looks at column H and if there is a date formatted as DD-MM-YYYY and the YYYY is equal to the current year, it puts a "N" in the corresponding cell of column Z. If the YYYY is from the previous year, it puts a "Y" in the corresponding cell of column Z. If neither criteria are met, it puts a "?".
The problem i am having is that the code doesn't seem to loop through after it enters a "Y" or an "N". It just seems to keep putting a "Y" or an "N" in each cell of column Z until it finds a new criteria that it meets. Can anyone see something wrong with this code that it wouldn't work correctly?
Bookmarks