Hi All,
Just a small plea for help
I have a textbox which I copy data into and then save it to a text file but I have multiple occurrences where words are repeated twice and it's these that I want to replace e.g.
Email Address:
Employee Number:
Department:
.
.
.
Email Address:
Employee Number:
Department:
I would like these to be is:
Email Address1:
Employee Number1:
Department1:
.
.
.
Email Address2:
Employee Number2:
Department2:
I have tried doing this in a loop using
For i = 1 to 2
textbox1.text.replace("Email Address:", "Email Address" + i ":")
Next i
but failed, any help would be greatly appreciated.
Regards
Just a small plea for help
I have a textbox which I copy data into and then save it to a text file but I have multiple occurrences where words are repeated twice and it's these that I want to replace e.g.
Email Address:
Employee Number:
Department:
.
.
.
Email Address:
Employee Number:
Department:
I would like these to be is:
Email Address1:
Employee Number1:
Department1:
.
.
.
Email Address2:
Employee Number2:
Department2:
I have tried doing this in a loop using
For i = 1 to 2
textbox1.text.replace("Email Address:", "Email Address" + i ":")
Next i
but failed, any help would be greatly appreciated.
Regards