Thank you Mike for your help. What you say about the same incorrect first name being used sounds right, but I'll have to confirm.
Incidentally, your re-written code had shades of blue, but when I pasted it into VS verbatim, the colour shading turned all black. Is this an indication of something gone awry?
Best,
Martin