View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Prema Prema is offline
external usenet poster
 
Posts: 26
Default skip rows depending value of a particular cell in that row

I have a workbook with data elements in column A to F and about 1500 rows
(will increase). Column D sometime has the value "not assigned". I would like
to get subset of the data by leaving "not assigned" rows out. I have written
code to look at each from row 1 to end to check for "not assigned" in column
D and drop that row. It work but takes a while to run and as the file will be
getting larger with time it willl take longer.

Can anyone help with more efficient code?