Replacing Part of Text with Another Part of Same Cell

Meatballsub

New Member
Joined
Feb 21, 2018
Messages
7
Hello!

I'm hoping someone can help me with my current problem. I have thousands of cells that look like this:

<a *******="viewer.setParameter('SceneUrl', 'units/models/nomodel.stl');viewer.init(); viewer.update();" >Unit-Model-Here</a>

<tbody>
</tbody>

What I'd like to do is replace the "nomodel" text above with whatever is between <a....></a> (in this case, it is Unit-Model-Here).

I've looked in other threads and have tried to adapt solutions from there, but have yet to figure out a working one. Any help would be much appreciated.
 
I ended up just removing the bad characters with find/replace, so I should be good now. But I will be doing more of this in the next day or so. If the problem crops up again, I'll be sure to revisit this thread and provide the dropbox as requested. Thanks again for all of your help, Rick.
 
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,215,219
Messages
6,123,690
Members
449,117
Latest member
Aaagu

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