title: VBA delete sheets based on criteria
body: <p>I would like to create a Macro on VBA that should completely delete a sheet if a specific value is less than another one in another sheet.</p>
  
  <p>So i got sheet1, for example, where in range "A1" there is a date.
  Now i would like that all the other sheets (in reality just some of them, but i can accept also for all the others if there is no solution) compare a value, for example in Cell "B10", that contain a formula that as output have a date. 
  If from the compare the value is behind the date in sheet1 THEN you have to delete the sheet.</p>
  
  <p>Thank you.</p>