Hello! I'm currently working on a spreadsheet where training is recorded. We're currently recording entries in two parts - First by training request, and then by courses scheduled. Each request is given a reference number, such as LT00001. I'm now trying to assign an individual reference number to each course scheduled, such as LT00001A, LT00001B, LT00001C, etc.
Reason being is, we may get one training request, however there could be several different courses booked from that one request. I'm needing to add this into the current VBA macros, I'm currently using the formula "=A4&CHAR(COUNTIF($A$4:A4,A4)+64)", which looks like this in the VBA:
.Range("B" & irow).Formula = "=A" & irow & "&CHAR(COUNTIF($A$" & irow & ":A" & irow & ",A" & irow & ")+64)"
My issue now is that the macro is adding an "A" to each record, but not continuing on (so now I have three rows of LT00001A, instead of it going LT00001A, LT00001B, LT00001C).
Annotation 2021-07-07 115257.png
I really hope this makes sense, any help would be greatly appreciated!
Bookmarks