Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50061

Creating a unique reference number

$
0
0
Hi there,

Sorry to launch straight into a query, but I was hoping someone out there might be able to help me, I don't know the first thing about coding, and have reached the limit of my skill...

I have attached my work so far, but I have reached a dead end.... I am creating a logbook to record the booking out of items, and where they go. Each row is a different record, and I need each row to have a unique reference number. The items are booked out to 3 separate locations (London, Birmingham, Scott Wilson) and I will need the ref. numbers to start LDN, BRM, and WIL according to where they have been booked out to, then a non repeating 4 digit number (0001, 0002 etc).

I realise I haven't explained myself too clearly, but any assistance would be greatly appreciated!
Attached Files

Viewing all articles
Browse latest Browse all 50061

Trending Articles