I have 2 questions about using the Find function in macos.
1) My macro uses Find to search for text and highlights the cell containing the text. If the text is not found, it throws an error. How can I avoid the error and just continue with the macro? There's probably an IF clause to be used.
2) If the text is found, it then activates the cell next to it, and populates it with a value from another tab. Currently, the cell location in the other tab is hardcoded but I'd like to use the find function during referencing that tab. Is this possible? For ex: instead of saying Range("A1") = Sheet1!("D1"), I want to say Range("A1") = Sheet1!<find text "abc" in column 3 and get the value in the cell next to it>
As always, thanks a ton!
Bookmarks