Hi there
I was hoping someone could please help me.
I have managed to write a bit of code that reads from one excel spreadsheet and then create a populate a new spreadsheet with this data.
One of the columns in the source spreadsheet is a description column. This column could contain any amount of text, but occasionaly in between all of this test there will be a string that looks like this: BBB000053228
The BBB will always be there but the number could be different, but always the same length.
Could someone tell me how to do a regexpression in VB to check if a cell contains a string with the above format pls? And if yes save that string to a variable as I then would like to put it into a new cell.
Thanks a lot! Sorry if this is an easy one.
I was hoping someone could please help me.
I have managed to write a bit of code that reads from one excel spreadsheet and then create a populate a new spreadsheet with this data.
One of the columns in the source spreadsheet is a description column. This column could contain any amount of text, but occasionaly in between all of this test there will be a string that looks like this: BBB000053228
The BBB will always be there but the number could be different, but always the same length.
Could someone tell me how to do a regexpression in VB to check if a cell contains a string with the above format pls? And if yes save that string to a variable as I then would like to put it into a new cell.
Thanks a lot! Sorry if this is an easy one.