Been banging my head against the wall for like 4 hours now and keep getting syntax errors.... grrr.
basically this is what i need to do
I have a column of about 60k rows with this web url (with product ids and URl's different for each row). Trying to write a vba macro to do a replace.
http://prf.icecat.biz/index.cgi?product_id=10;mi=start;smi=product;
For the above URL, I need to parse the prodcut ID number out of the URL for each row of data in the column, and then replace the data with all of this HTML Text & below, substituting the product ID that was parsed from the original data in the cell into the new URL that is replacing the data. I need to keep all of the html code and markup in the replaced data.
<div class="qsc-html-content">
<p>******** src="http://prf.icecat.biz/index.cgi?product_id=4610908;mi=start;smi=product;shopname=stsllc01;lang=en" width="640" height="480">*********></p>
</div>
Tried doing this as an excel replace as string function but I keep getting hung up on the replaced portion of data and the syntax because the html code text I think is complicating it.
Help please
basically this is what i need to do
I have a column of about 60k rows with this web url (with product ids and URl's different for each row). Trying to write a vba macro to do a replace.
http://prf.icecat.biz/index.cgi?product_id=10;mi=start;smi=product;
For the above URL, I need to parse the prodcut ID number out of the URL for each row of data in the column, and then replace the data with all of this HTML Text & below, substituting the product ID that was parsed from the original data in the cell into the new URL that is replacing the data. I need to keep all of the html code and markup in the replaced data.
<div class="qsc-html-content">
<p>******** src="http://prf.icecat.biz/index.cgi?product_id=4610908;mi=start;smi=product;shopname=stsllc01;lang=en" width="640" height="480">*********></p>
</div>
Tried doing this as an excel replace as string function but I keep getting hung up on the replaced portion of data and the syntax because the html code text I think is complicating it.
Help please