View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
jademaddy jademaddy is offline
external usenet poster
 
Posts: 2
Default Delete/clear a cell based on another cells contents

Could someone assist me with the following problem please.

I have a sheet that has about 1000 rows and about 50 columns. I would like
to write a macro that will clear the cell contents of 4 cells in one row IE
AC3,AD3,AE3 and BL3 based on whether the contents of cell BW3 = "Yes". The
macro will the drop to the next cell IE BW4 and will clear the contents of
the corresponding cells AC4,AD4,AE4 and BL4 if this has a "YES" in it. This
will then continue until the bottom of the sheet.