I need a VBA macro that will do what this formula does, but I need to be able to populate a variable selection of cells:
=CONCATENATE(DEC2HEX(RANDBETWEEN(0,65535),4),"-",DEC2HEX(RANDBETWEEN(0,65535),4),"-",DEC2HEX(RANDBETWEEN(16384,20479),4),"-",DEC2HEX(RANDBETWEEN(32768,49151),4))
This generates a random hex code like this: F117-F025-4990-91E4
Thanks!
I have this:
but it re-iterates the same groups over and over.Please Login or Register to view this content.
Bookmarks