Take, for example, the Range.Find method
Find (what, after, LookIn, LookAt, SearchOrder, SearchDirection, MatchCase, MatchByte, SearchFormat)
These are LOT conditions for installation! But you just need a simple number 2 search in Range("A1:A500") :
Without an operator := you will need to use commas to set any optional variables:
Range("A1:A500").Find(2, , xlValue, , , , , , )
Using the operator := you can specify what conditions you want, without specifying all the default settings:
Range("A1:A500").Find(what:=2, lookin:=xlValues)
source share