i'm a newbie wrt vba and w/ that said....
i have a bunch of forms and while i could create a bunch of macros each of which would be written to get triggered to close a form when a command button atop the form's 'clicked' i have a sneaking suspicion that some 'function' could be written and made 'universal' (if that is the proper term) that could be activated to 'close the current form' when the command button's clicked. i'm looking to use one function without having to expressly name the form it's going to close. sound doable?
i have a bunch of forms and while i could create a bunch of macros each of which would be written to get triggered to close a form when a command button atop the form's 'clicked' i have a sneaking suspicion that some 'function' could be written and made 'universal' (if that is the proper term) that could be activated to 'close the current form' when the command button's clicked. i'm looking to use one function without having to expressly name the form it's going to close. sound doable?