I'm not sure if this is even possible but here goes.
I would like to add a product code "magic" in cell A1
I would then like the product code to appear in B1
B1 should be a hyperlink www.mydomain.co.uk/
and when A1 is populated the hyper link in B1 should be www.mydomain.co.uk/magic
Bookmarks