Solved Button to Enable Disable Controls by Macro

Sarah.M

Member
Local time
Tomorrow, 00:56
Joined
Oct 28, 2021
Messages
335
Hi, Plz note, My VBA is blocked by IT for security reason.
I can use only Expression builder, Macros, Queries, Tables, Forms and Reports only.
------------------------------------------------
I am trying to make Button Enable Disable, one click it works it disable the controls,
but if I click it again it did not Enabled the controls ☹️
plz help me to fix it 🙏

Sample attached

1646857999110.png
 

Attachments

Last edited:
If you're using a toggle button, then you should be able to test for its state: true or false. I'm not sure why you're checking the OnClick property in your macro.
 
If you're using a toggle button, then you should be able to test for its state: true or false. I'm not sure why you're checking the OnClick property in your macro.
Thanks for replying
I want
on click enable controls and
on click disable controls
Tried .[OnClick] but it didn't work
Plz help!
 
If you're using a toggle button, then you should be able to test for its state: true or false. I'm not sure why you're checking the OnClick property in your macro.
I make mistake I mean Button not Toggle Button
 

Users who are viewing this thread

Back
Top Bottom