Search using variable

Closed
Roger - Jul 28, 2019 at 10:30 AM
 Blocked Profile - Jul 29, 2019 at 07:27 AM
Hello,
I am trying to enter a value (name or partial name) and perform a search in the specified column. I can easily put a specific string in the VBA code but want the user to be able to enter the searches for info. I can’t seem to figure out how to do a search on a variable??


System Configuration: iPhone / Safari 12.1.1
Related:

1 response

Blocked Profile
Jul 29, 2019 at 07:27 AM
This can be accomplished in two ways, enter a value into a cell, as in:
thesearch=cells ("A1").value

Or with an inputbox as in:
thesearch=InputBox ("Search what?","Search Box")

Now, place the variable of thesearch into your code!


Have fun!
0