The Userform class/interface is a generic one from which other userforms inherit. You cannot create a new instance of Userform (only Userform1 or whatever you have called your form) and hence it does not have properties such as Name or Top or Left, as they don't make sense. You should pass it as Object.