My code below is inserted into the "ThisWorkbook" Microsoft Excel Object. Why is it when the Workbook_Open sub ends my SET objects are changed to nothing?
'Declare WorkBook variables
Public wbI As Workbook, wbO As Workbook
Public wsData As Worksheet, wsMain As Worksheet, wsPForma As Worksheet
Public Sub Workbook_Open()
    Application.Wait (10) 'Wait 0.1 seconds
    Set wbI = ThisWorkbook
    Set wsData = wbI.Sheets("Customs Details Sheet Data")
    Set wsMain = wbI.Sheets("Customs Details Sheet")
    Set wsPForma = wbI.Sheets("Manufacturer Pro-Forma")
End Sub
 
     
    