Hi
I am trying to write a code that can recognise an ISIN code, these are IDs for securities (like a SEDOL). They always start with 2 letters and are succeded by 10 numbers, the code loops through a block of text and the ISIN will be in a specific column. I just need to know how the code could identify an ISIN code in a specified column:
For intRow1 = intLastRow1 To 1 Step -1
Rows(intRow1).Select
If Cells(intRow1, 2).Value = "ISIN" Then
Cells(intRow1, 1).Select
Selection.EntireRow.Copy
Example of ISIN
FR0000000000
GB1111111111
XS2222222222
Any ideas
Thanks
I am trying to write a code that can recognise an ISIN code, these are IDs for securities (like a SEDOL). They always start with 2 letters and are succeded by 10 numbers, the code loops through a block of text and the ISIN will be in a specific column. I just need to know how the code could identify an ISIN code in a specified column:
For intRow1 = intLastRow1 To 1 Step -1
Rows(intRow1).Select
If Cells(intRow1, 2).Value = "ISIN" Then
Cells(intRow1, 1).Select
Selection.EntireRow.Copy
Example of ISIN
FR0000000000
GB1111111111
XS2222222222
Any ideas
Thanks