Is there a way of checking the tab names when a command button is clicked. what i want to do is sheck to see if there is a tab with the same name as the sheet that it is trying to generate. if there is then a message box will let the user know that the tab name is taken.