Click to select rows and export your custom program