I am using macros on a customized menu in Access 2007. I have the same form being opened from 2 different macros and in one case, I want a command button on the form to be disabled. Is this possible? If not using the macro, can I do it in vba?
What I don't know how to implement would be the "condition". I only want the button disabled if the form is being opened by one of two macros. I tried using the "Where Condition" on that macro but that didn't work.
Where = forms!frmDailySummary!cmdPostData.Disabled = True
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.