Hi Tigeravatar,
Thank you very much for the code and it works great. However, and I am sorry for not being more clear (sometimes it is difficult to explain something which is in your head but you can't write it down until you see something similar working), is it possible to have the offset variable? I have more keyword strings that need to be looked through, but the offset, which is set at '3' can be different for each keyword string. At this moment both keyword strings use the same offset, relative to the last keyword of the string. Example: WATER (Cell C2) and DEPTH (Cell C3) will return the result from Cell C6 etc. But this can be, depending on the data that needs to be found, Cell C8, C5, C11 or C16 also. Hence, for each keyword string, the offset needs to be made variable (user defined via a additional textbox) or pre-defined in the code. Is this possible, or am I asking to much?
At this moment you use a counter (code is partly shown) to walk through each keyword string, but I presume that each keyword string can have its own offset instead of using
I hope you can help me once again
. If I know the code for two keyword strings, each with their own offset, I can expand the code to more than two keyword strings.
Regards,
Martijn
Bookmarks