Excel Vba Variable Scope Java