Hi
I currently have a great macro that, when a "generate" button is pressed, it puts out a serial number in the format of YYMMXXXX (where XXXX begins from 0001) and populates the next available row with this number. However we now need it to reset the last four digits to go back to 0001 every time a new year has begun.
The year and month are automatically input from "today's" date.
Having a little trouble trying to tweak this so that the numbers reset :/
Any help will be greatly appreciated ☺
I currently have a great macro that, when a "generate" button is pressed, it puts out a serial number in the format of YYMMXXXX (where XXXX begins from 0001) and populates the next available row with this number. However we now need it to reset the last four digits to go back to 0001 every time a new year has begun.
The year and month are automatically input from "today's" date.
Having a little trouble trying to tweak this so that the numbers reset :/
Any help will be greatly appreciated ☺