Hi all,
I have this code (credits to @Fluff13) that replaces values on one worksheet with values on another (using a lookup value that is consistent across the two worksheets).
Basically, I am using this to translate content across multiple languages, where the lookup value = the language. See here for the initial thread.
If I use this with single values, e.g. replace "apple" with "Apfel", it works fine, however, as soon as I add whole sentences to replace, I get a "type mismatch" error on line![]()
Please Login or Register to view this content.
.Replace Ws.Cells(r, 2), Ws.Cells(r, c), xlPart, , False, , False, False
My assumption is that .replace cannot handle the replacement if the cell exceeds a certain character count.
My question is: is there a way to tweak this to allow me to replace full sentences, ideally lifting re character restriction completely?
Hope this works somehow?
Thanks all!
Bookmarks