I am trying to do unclutter by using modules more than I have in the past. I am trying to do something that I thought was simple. I would like to set a subform enable property to false. If I do it in vba in the parent with:
Me.F_Main_adderDB_SUB.Enabled = False
It works fine
If I try to use a module, I put
Call TEST1("F_Main_adderDB_SUB") in the main form.
In the module, I put
Screen.ActiveForm.SFN.Enabled = False and get an error message.
What am I missing? Googled, but found all help was for part I already can do. Any help much appreciated.