Excel Vba Variable Not Defined Error In Python