This should do it for you:
Option Explicit
Sub SearchALLSheets()
'Author: Jerry Beaucaire, ExcelForum.com
'Date: 10/17/2010
'Summary: A string is searched for in all sheets, the value searched must be
' the whole cell value, partial strings are not matched
Dim MyVal As String
Dim ws As Worksheet
Dim vFind As Range
MyVal = Application.InputBox("Enter Policy Number to locate:", "Policy Locator", Type:=2)
If MyVal = "False" Then Exit Sub
On Error Resume Next
For Each ws In Worksheets
Set vFind = ws.Cells.Find(MyVal, LookIn:=xlValues, LookAt:=xlWhole, MatchCase:=False)
If Not vFind Is Nothing Then
ws.Activate
vFind.Select
Exit Sub
End If
Next ws
MsgBox "Policy " & MyVal & " was not found."
End Sub
Bookmarks