Tired of reformatting ctrl f to find something

flpunt

New Member
Joined
Mar 9, 2015
Messages
6
I need to search for items in a column and use Find but I have to change the format by clicking the "Options" & the Match Case & Match entire cell contents and the search in columns.
It's annoying to have to keep doing this. Is there a way of creating some kind of shortcut or saving the find selections?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
perhaps this....

Code:
Sub Find_value()


Dim SearchMe As Variant
SearchMe = InputBox("Enter Value")


On Error GoTo msgbx
Set found_value = Cells.Find(What:=SearchMe, After:=ActiveCell, LookAt:=xlWhole, MatchCase:=True)
found_value.Activate
exit sub

msgbx:
MsgBox "not found"


''Put shortcut that will help"
End Sub
 
Last edited:
Upvote 0
Not sure if you received a response to this, but all you needed to do was enter Alt+F11 to open VBA to paste in the code MUKESHY12390 provided for you. Copy the code, right-click on your workbook and insert it in the "module" option. Replace the portion inside the quotes that says "put shortcut that will help" with any key combination you'd like to designate as your shortcut. Save your worksheet as macro-enabled and enter ALT+Q to close VBA. You can run the code by entering ALT+F8. Select the macro you created, and click run.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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