If you want to use a macro for this you can use the Find Record Action that will match whatever search criteria you specify in the action arguments. It will look for the record on a form, your form will be based off either a table or a query and you can run the macro from the form via a command button.
This probably isn't the best way to search for a record, it really depends what the use of your search is but you may be better just to create a search form instead. For example your macro will look for the same search criteria everytime where a form will give you the option of changing your search criteria.