how to trigger the "find" popup box on Mac Excel

anxoperez

Active Member
Joined
Oct 3, 2007
Messages
254
I would like to have a macro that selects Columns G-L and then triggers the find searchbox. I tried this with sendkeys but it didn't work (used to work on my PC).

Can someone help?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Maybe ...
Code:
Sub x()
    Columns("G:L").Select
    Application.Dialogs(xlDialogFormulaFind).Show
End Sub
 
Upvote 0
I can't believe I wasted almost an hour to try to figure it out on my own (when I have no clue about programming) when I could have asked you guys.

IT WORKED!

Long live TX
 
Upvote 0
One more thing:

I need to add a feature to the search.

I need to search not within formulas but within values. Can someone tell me how to add that bit of code to the rest?

Thanks
 
Upvote 0
Don't know about Mac Excel but in Windows:
Code:
Sub x()
    Columns("G:L").Select
    Application.Dialogs(xlDialogFormulaFind).Show , 2
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,843
Members
452,948
Latest member
UsmanAli786

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