how do i use the excel function search in excel vba?

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

Guest

I want to use the excel functions value and search in excel vba code.
How do I do this
 
You should use the vba function Instr instead of Search.

Instead of Value you should use the vba function Val

better to use VBA functions in VBA if they do the job.

--
Regards,
Tom Ogilvy



"Excel programming questions"
 
I want to use the excel functions value and search in excel vba code.
How do I do this

You can use SEARCH

Application.WorksheetFunction.Search

but I think VALUE you will have to use a VBA equivalent. What exactly do you
want to do?


--ron
 
Back
Top