Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Place this in a module (and modify the rows, columns and limit): Sub FindZip() z = InputBox("What is the ZIP code?", "ZIP") For i = 1 To 10 If Cells(i, 1).Text = z Then MsgBox "YES", vbExclamation, "ZIP found?" t = True Exit For End If Next If Not t Then MsgBox "NO", vbExclamation, "ZIP found?" End Sub -- raypayette ------------------------------------------------------------------------ raypayette's Profile: http://www.excelforum.com/member.php...o&userid=29569 View this thread: http://www.excelforum.com/showthread...hreadid=570499 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find specific worksheet in another workbook and then applu Vlookup | Excel Worksheet Functions | |||
Using a Worksheet Form to add data to a separate worksheet databas | Excel Worksheet Functions | |||
Create a Pop window in a Excel Worksheet | Excel Discussion (Misc queries) | |||
How do I convert an excel worksheet to a fill in form? | Excel Discussion (Misc queries) | |||
Excel Worksheet Form / Database reporting | Excel Discussion (Misc queries) |