Im opening up a workbook and then selecting a worksheet based on a string variable like so (wsI is worksheet variable, sYear is search criteria)

Set wsI = Sheets(sYear)

I would like to improve this so that if the worksheet does not exist i insert a new one and then rename it to my search variable, i thought something along the lines of the below would work but it hasn't! I guess the 0 is the wrong thing to look for, any help appreciated

If Sheets(sYear) = 0 Then
Sheets.Add
ActiveSheet.Name = sYear
Else
Set wsI = Sheets(sYear)
End If