I have a form with a button whose visibility I would like to make conditional on the Month value of Now(). I would like the test to be done any time the form is displayed. I have been unable to find any macros or VBA code examples showing me how to accomplish this, so I'm beginning to wonder if it can be done. In simple pseudo code, here's what I'd like to do:
Expand|Select|Wrap|Line Numbers
- If(Month(Now())=1,Button.Visible=True, If(Month(Now())=12,Button.Visible=True,Button.Visible=False))
Thanks for looking.
Dave Anderson
Bismarck ND