Hi People,
I'm looking to Improve the efficiency of my code.
I have two ActiveX Command Buttons, that, when clicked set 50-ish ActiveX Checkboxes to be TRUE or FALSE depending which button is clicked.
At the moment the code ticks each checkbox singularly and moves to the next, which is a bit clunky and makes my screen flash wildly (Dangerous for any Epilepsy sufferers)
My code is as follows;
Private Sub HideAll_Click()
Infrastructure = False
Adobe = False
. etc
. etc
. etc
. etc
WorkstationsAccessories = False
End Sub
and obvisously all TRUE for the 'ShowAll' Button,
Is there a way to make this more efficient? Or do i have to settle with losing my sight at an early age from the blinding flashes?
thanks,
Yellow
I'm looking to Improve the efficiency of my code.
I have two ActiveX Command Buttons, that, when clicked set 50-ish ActiveX Checkboxes to be TRUE or FALSE depending which button is clicked.
At the moment the code ticks each checkbox singularly and moves to the next, which is a bit clunky and makes my screen flash wildly (Dangerous for any Epilepsy sufferers)
My code is as follows;
Private Sub HideAll_Click()
Infrastructure = False
Adobe = False
. etc
. etc
. etc
. etc
WorkstationsAccessories = False
End Sub
and obvisously all TRUE for the 'ShowAll' Button,
Is there a way to make this more efficient? Or do i have to settle with losing my sight at an early age from the blinding flashes?
thanks,
Yellow