Technically, can anyone explain to me why Cells.Find() is so much faster than a loop?

  • Thread starter Thread starter Will
  • Start date Start date
W

Will

Can someone please explain to me why it is so much faster to use the
built in application functions, particularly for searching, when
programming an Excel Macro than creating a loop? Thanks for your time.
 
Built in functions are compiled executables where as VBA is not. Additionally
VB/VBA is not the most efficient language when executed where are as the
built in functions are probably using C/C++ or something similar.
 
Built in functions are compiled executables where as VBA is not. Additionally
VB/VBA is not the most efficient language when executed where are as the
built in functions are probably using C/C++ or something similar.

I'm not very versed in computer programming, but how are compiled
executables in dealing with system resources? What about a compiled
executable makes it faster other than running through a VBA compiler
like a hand-made macro?
 
Check your other post.
Can someone please explain to me why it is so much faster to use the
built in application functions, particularly for searching, when
programming an Excel Macro than creating a loop? Thanks for your time.
 

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