Find and replace url in middle of code

colleenharr

New Member
Joined
Jan 20, 2009
Messages
3
I'm slightly preplexed on the best way to move forward, so I thought I'd post and ask.

I've got a few lines of code in a cell that contain a http:// address in the middle. I've then got a series of url's in a column - the dream is to be able to do some sort of find and replace or a macro so at the end, each url is plopped into the code line (rest of the code remains the same.)

Does that make sense? Any ideas? My macro writing skills are limited so if there are ideas on where to start for that I would be SO grateful.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
when you do the regular Find and Replace procedure, expand the Options dialog and make sure the option 'Match entire cell contents' unchecked, also set 'Look in:' option to 'Formulas'.
 
Upvote 0
Thanks, that worked on my test case.

Would anyone be able to guide me in a macro for a mass find and replace - the dream output is that for the 100 some URLs I have, each of them is plopped into its own line of code (so i've got 100 lines of code with different URL)
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,696
Members
452,938
Latest member
babeneker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top