Excel Search Engine Formula that simulates Control F, Option, Within Workbook, Find All

Candy Samsung

New Member
Joined
Apr 26, 2015
Messages
16
Excel Search Engine Formula that simulates Control F, Option, Within Workbook, Find All
Search%2BEngine%2BTab%2B3.JPG
 
Last edited by a moderator:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi,

Are you looking for this:

Code:
Sub myFind()
    Application.CommandBars.FindControl(ID:=1849).Execute
End Sub
 
Upvote 0
Hi,

Are you looking for this:

Code:
Sub myFind()
    Application.CommandBars.FindControl(ID:=1849).Execute
End Sub

Is this a VB code thing? I'm completely illiterate with code stuff. I took a class once, but I have forgotten everything since. Are you saying the only way I can get desired results is to to a VB code thing? I'll try if you say its only way. I may ask more questions if you say yes. :)
 
Upvote 0
Hi,

If you go into the VB Editor, select Insert-->Module and paste that code in then if you hit the F5 key it will run it for you. You could link that macro to a button on the worksheet - or an option on the menu bar but there already is one there.

From your question, I am not quite sure what you were expecting. What is wrong with the ordinary Find command? What are you expecting on top of that?

If you use VBA there are other ways of finding things.
If you don't want to use VBA there is the Find command in the Editing menu.
 
Upvote 0
I like your macro, but how do I link it to a button on the workbook. I'm trying to make this as simple as possible for my coworkers when researching. Our project is coming to an end soon, this is clean up now.

Oh, I got the button inserted... now I'm trying to make the button bigger and change name.

I LIKE THIS!!! Thank you!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,225,888
Messages
6,187,645
Members
453,434
Latest member
fattyhuman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top