I would like to create a VBA script/module for Microsoft Excel to do the following.
Identify if the cells in said column meet the two sequences below and highlight the cells Red that do not meet the sequence and highlight the cells green that do meet the sequence.
3 letters 3 numbers (AAA111)
1 number 2 letters 1 number 2 letters (1AA2BB)
With the sequences above they might be separated by a comma and in different orders, example.
AAA111
1AA2BB
AAA111,1AA2BB
Please see below examples I gathered from around the internet. However it does not allow for commas and the first sequence 3 letters 3 numbers (AAA111).
![]()
Please Login or Register to view this content.
Bookmarks