If wsResults Is Nothing Then

Above is the line that gave me an error, and it was when the sheet did not exist. Not sure what error trapping is sorry.. im very new to vba