I have a script that copies the selected cells and pastes them into another workbook.

What I need to do is after the paste is done I would like to add "Submitted" into the next column of the selected rows.

So if selected cells are (A2:H30) after paste is completed I would like (I2:I30) to get "Submitted"

Can this be done?