dcofer
Board Regular
- Joined
- Jun 25, 2004
- Messages
- 203
Hell All,
I need a macro, preferably, but a formula might work to check the contents of the cells in Column C of my report, which is usually about a thousand rows long.
The format should be like this example: 08-12-2017 DCV It needs a two digit month, a dash, a two digit day of the month, a dash, and a four digit year, followed by one space and the letters DCV in all caps.
The macro can simply check the third and sixth positions for a dash, the 11th position for a space and the twelfth, thirteenth and fourteenth position for the letters "DCV" in all caps.
Thanks in advance for your assistance.
David
I need a macro, preferably, but a formula might work to check the contents of the cells in Column C of my report, which is usually about a thousand rows long.
The format should be like this example: 08-12-2017 DCV It needs a two digit month, a dash, a two digit day of the month, a dash, and a four digit year, followed by one space and the letters DCV in all caps.
The macro can simply check the third and sixth positions for a dash, the 11th position for a space and the twelfth, thirteenth and fourteenth position for the letters "DCV" in all caps.
Thanks in advance for your assistance.
David