View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sunil Patel[_2_] Sunil Patel[_2_] is offline
external usenet poster
 
Posts: 4
Default FIND FIRST AND LAST

hi there,

When searching column "a", how can i return the row numbers of the first and
last cell in which there is a particular word

dog
cat
cat
cat
fish

i want to return firstrow%=2 and lastrow%=4 if looking for "cat"

Using excel 2000

thanks