handling calculated excel cell error messages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I try finding a text string within another test string (for exmaple
using "find" or "Search") it returns a value when the text string is found.
However, when the text string is not found it returns an Error ("#Value!").
I'd like to autmatically calulate the cell as "Y" if the text string was
found or "N" if it was not found.
 
Use instr inplace of find or before search

if instr(string1,",") > 0 then
'put find or search here
end if
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top