Hi Rhonda,



Suppose u are having url in a variable called url then u just need to build HTML String as follow



var url = 'https://google.com' ;         //get it using ajax


var text   = '<a target="_blank" href="'+url+'">Here</a>' ;


//then use the same function (setDesc) to set above html in the macro



setDesc(text) ;