View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.programming
Catalin[_2_] Catalin[_2_] is offline
external usenet poster
 
Posts: 16
Default Create Select Case Function

Many Thanks to All. I just found the asnwer.

"Catalin" wrote:

COLUMN A COLUMN B
Apple 1
Orange 2
Kiwi 3
Apple 1
etc.
What should be the VBA code to auto fill the column B given the values of
column A. A couple of years ago I solved this problem but can not remember
how I did that, all I remember is that I created a function (that included
the select case because of the number of entries) and accessed it from the
worksheet.
Thanks