View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] hamad.fatima@gmail.com is offline
external usenet poster
 
Posts: 19
Default Delete the contents of columns if the month changes

I have a reference cell A1= current month like ( jan, feb , mar etc)
I have 12 columns JAN- Dec
if A1= FEB, i want a macro to delete the contents in JAN and FEB
columns and hide them .
if A1= MAR , then hide JAN & FEB & MAR and delete the contents in them
.. And so on.

Please help me write this macro.

Thanks