calc, insert text from cell to string

cells
A1 has a website google.com/img.png
A2 has a website Redirecting...
A3 "
A4 "
A5 "
A6 "
Given the string? bellow, how do I get the websites to match up with the cell vlue?
[center][url=A1][img=350]A1[/img][/url][url=A2][img=350]A2[/img][/url][url=A3][img=350]A3[/img][/url][url=A4][img=350]A4[/img][/url][url=A5][img=350]A5[/img][/url][url=A6][img=350]A6[/img][/url][/center]

[url=A1][img=350]A1[/img][/url] A1 would change depending in what is in Cell A1
[url=http://google.com/img.png][img=350]http://google.com/img.png[/img][/url]
[Not sure what this code is for, but I visibilized it. LeroyG]

A1 depending de A1 !!!