I am writing a program in excel vba. What i want to do is run a form through some coding in a module and than automatically run a button on that form, and than continue with the coding in the module. The problem I am encountering is that the only way to continue with the coding in the module is to unload the form in the forms coding. Whenever i try to unload the form though i get an error in the module saying run-time error 91 object variable or with block variable not set
Why am i getting this error and is there a way around it?
dimset.show
gadata.show
i show dimset and automatically run a command button on the form, then i want to continue running the module coding and load gadata. When i try to unload dimset in the forms coding i get an error or the one i stated above at dimset.show. Hiding the dimset form does not make the coding in the module continue with gadata. Does anyone ahve any suggestions??? any help would be greatly appreciated. thanks
Why am i getting this error and is there a way around it?
dimset.show
gadata.show
i show dimset and automatically run a command button on the form, then i want to continue running the module coding and load gadata. When i try to unload dimset in the forms coding i get an error or the one i stated above at dimset.show. Hiding the dimset form does not make the coding in the module continue with gadata. Does anyone ahve any suggestions??? any help would be greatly appreciated. thanks