Hello,

just fit the post #2 or 3 code to your need …

If you need some help, rather than your guessing challenge hijacking and digging out an eight years old thread
create your own with your best explanation without forgetting to attach your obvious static workbook at least …