Neither code sample works.... yet - :)
The original code deletes all instances of the target text, but then continues to loop until I break. No image is placed anywhere.
The second sample of code replaces the first instance of the target text and loops, placing the same image over and over in...
When I debug, the cursor is on a different line every time. So it's replacing the first instance of the Text, then plugging the image into the same cell over and over.
Actually, it's now running but once it replaces one instance of the text it's searching for, it appears to loop indefinitely.
Occasoinally I get an Object variable or With block not defined error as well, but only when there are no more instances of the target text found (or so it appears).
Hi all,
I'm trying to write a macro in Excel that will all instances of a word and replace it with an image. Any ideas? Is this possible? Ideally I'd like the image to be anchored to the cell that the word was in.
Thanks,
Mitch
No, I'm not seeing if they are equal.
For example, I'm searching for "Australia" within "Once upon a time, I went to Australia".
So normally I'd use LIKE "*Australia*".
But in this case I don't want to compare it to a string like "Australia" but to a whole list of country names.
Does this...
I'm trying to write a query using LIKE. I know how to do this when I'm comparing a field to a string, but how do I do this when comparing a field to another field?
So where we do this:
WHERE table1.field1 LIKE "*joe*"
How do I do this:
WHERE table1.field1 LIKE table2.field2
Any ideas...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.