Here it is:
Enclosed is the worksheet and its code and examples. If you debug it you see that the concatenate is working all right but the issue is in that statement, I do not know why, because it works in other functions that I have created previously.
I could not upload the file, because it exceeds the limit for the forum. So I add further information to understand the code enclosed here.
There are two sheets, the first one is named "BDD" and the second one is named "GENERADOR DE LISTAS DE CORREO" where there is a button that executes the private sub CommandButton2_Click(). Finally, you should put in the column A from the worksheet "BDD" all the e-mail addresses in the differente rows starting from row 1 to n consecutively. If you click on the button on execution, you can see the error. If you debug it and brake on the specific line, you can see that everything is being done properly but assigning the value to the cell.
Please let me know if there is any question.
Bookmarks