OK, It's more like a whole program but here goes. I realy appreciate any
help you may be able to give me. I will send it to you but you will probably
need to ask me some question about what I am trying to do. Also, The buttons
are not yet connected to antything and I have been working on two types of
call buttons, one in menu form and then the buttons. I will decide which one
to use later.
> send me a workbook if you like.
>
[quoted text clipped - 52 lines]
> >> > >> > macro button. --
> >> > >> > :/
I sent back
Sub findemployee()
what = InputBox("Enter Employee Number")
With Worksheets("Database")
lr = .Cells(Rows.Count, "a").End(xlUp).Row
With .Range("a1:a500")
Set c = .Find(what, LookIn:=xlValues, LOOKAT:=xlWhole)
If Not c Is Nothing Then
firstAddress = c.Address
Do
MsgBox "Row " & c.Row
MsgBox c.Offset(, 1)
'whatever you want to do with your find(s)
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstAddress
End If
End With
End With
End Sub

Signature
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
> OK, It's more like a whole program but here goes. I realy appreciate any
> help you may be able to give me. I will send it to you but you will
[quoted text clipped - 67 lines]
>> >> > >> > macro button. --
>> >> > >> > :/
Don Guillett - 23 Aug 2007 15:11 GMT
lr = .Cells(Rows.Count, "a").End(xlUp).Row
> With .Range("a1:a" & lr)

Signature
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
>I sent back
>
[quoted text clipped - 93 lines]
>>> >> > >> > macro button. --
>>> >> > >> > :/