Hello,
I am running Excel 2021 and I have a two sheets, here's Sheet1, it contains values of find (col A) and replace (col B), there might be 1k of rows in there:
The cells in col B might get lengthy, like 1k characters long.
Sheet2 contains cells with contents that need get found and replaced using the data from Sheet1:
There are like like 200 columns and 2k rows in Sheet2.
I was using some 10-year-old VBA code that stopped working in new Excel with long cell values and also it workes slow as heck.
Is it possible that some new VBA solution would work with long cell values (1k characters long) to use find and replace data from Sheet1 to change entire cell contents in Sheet2?
Any help is appreciated.
Thanks in advance.
I am running Excel 2021 and I have a two sheets, here's Sheet1, it contains values of find (col A) and replace (col B), there might be 1k of rows in there:
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | Abigail | <a href="https://example.com/abigail.html"><img src="https://example.com/abigail.jpg"> Abigail</a> | ||
2 | Sophia | <a href="https://example.com/sophia.html"><img src="https://example.com/sophia.jpg"> Sophia</a> | ||
3 | Amelia | <a href="https://example.com/amelia.html"><img src="https://example.com/amelia.jpg"> Amelia</a> | ||
4 | Elizabeth | <a href="https://example.com/elizabeth.html"><img src="https://example.com/elizabeth.jpg"> Elizabeth</a> | ||
5 | Ava | <a href="https://example.com/ava.html"><img src="https://example.com/ava.jpg"> Ava</a> | ||
6 | Isabella | <a href="https://example.com/isabella.html"><img src="https://example.com/isabella.jpg"> Isabella</a> | ||
7 | Gianna | <a href="https://example.com/gianna.html"><img src="https://example.com/gianna.jpg"> Gianna</a> | ||
8 | Harper | <a href="https://example.com/harper.html"><img src="https://example.com/harper.jpg"> Harper</a> | ||
9 | Mila | <a href="https://example.com/mila.html"><img src="https://example.com/mila.jpg"> Mila</a> | ||
10 | Olivia | <a href="https://example.com/olivia.html"><img src="https://example.com/olivia.jpg"> Olivia</a> | ||
Sheet1 |
The cells in col B might get lengthy, like 1k characters long.
Sheet2 contains cells with contents that need get found and replaced using the data from Sheet1:
Book1 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Ava | Isabella | Olivia | Sophia | ||
2 | Isabella | Gianna | Abigail | Amelia | ||
3 | Gianna | Harper | Sophia | Elizabeth | ||
4 | Harper | Mila | Amelia | Mila | ||
5 | Mila | Olivia | Elizabeth | Olivia | ||
6 | Olivia | Abigail | Ava | Abigail | ||
7 | Abigail | Sophia | Isabella | Ava | ||
8 | Sophia | Amelia | Gianna | Isabella | ||
9 | Amelia | Elizabeth | Harper | Gianna | ||
10 | Elizabeth | Ava | Mila | Harper | ||
Sheet2 |
There are like like 200 columns and 2k rows in Sheet2.
I was using some 10-year-old VBA code that stopped working in new Excel with long cell values and also it workes slow as heck.
Is it possible that some new VBA solution would work with long cell values (1k characters long) to use find and replace data from Sheet1 to change entire cell contents in Sheet2?
Any help is appreciated.
Thanks in advance.