Thread: area code
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
junkman junkman is offline
external usenet poster
 
Posts: 1
Default area code

I have one column that has list of phone numbers with area code. I
need to make new column for which state. I would like to make a small
macro program to check the area code and put two letters state on new
column. How do we do that. I was thinking to use loop for read each
row and use if area code = (301) then row 1 = CA elseif area code =
(302) then row 1 = UT.... I don't know where to start..