Code: Select all
Set rngFound = Range("A2:AAA2").Find(myVariable)
Code: Select all
Set rngFound = Range("A2:AAA2").Find(what:=myVariable*)
What is the correct syntax?
Thanks,
Ken
Code: Select all
Set rngFound = Range("A2:AAA2").Find(myVariable)
Code: Select all
Set rngFound = Range("A2:AAA2").Find(what:=myVariable*)
Code: Select all
What:=myVariable & "*"
Code: Select all
myVariable = myVariable & "*"