thanks sorry but the button does not do anything..... no sheets are selected when the code has run? thanks