Hi,
Not quite sure why you mention cells on row 1 and then talk about deleting rows 1,2, etc. but assuming I've interpreted correctly, put your code in the Click event of the OK Command Button. Untested but something like
etc. If there are many checkboxes you might be better to write a loop to process them rather than repeat many lines of similar syntax to the above.
I generally process these things in descending order. It doesn't matter in this example since you are only clearing contents, but on other occasions you may be deleting rows and then the order is important and it's a good habit to get into. If you want to delete say rows 2 & 4 and the macro processed row 2 first then what was row 4 becomes row 3 before the next instruction to delete a row is activated, and the second instruction will then still delete row 4 which contains what were row 5 values.
HTH
Bookmarks