Sub test_copyCellHTMLouter()
[A1:B10].Copy
MsgBox "en laissant le tabulation " & vbCrLf & presse_papier_Window
cod = presse_papier_Window
cod = Replace(cod, vbTab, "</td><td>")
cod = Replace(cod, vbCrLf, "</td></tr>" & vbCrLf & "<td>")
cod = "<table>" & vbCrLf & "<tr><td>" & Replace(cod, vbCrLf, vbCrLf & "<tr>")
cod = Left(cod, Len(cod) - 10) & vbCrLf & "</table>"
MsgBox "converti en html simple" & vbCrLf & cod
End Sub