Solved Determine AllowBypassKey is On or Off

Please review the updated file. Note that I copied the code into the form module so you could refere to the textbox using the Me.txtbox. I also modified the public function you have in the standard module. You can switch between them in the Open event of the form (removed the macro and used VBA code instead) by commenting one out, you'll see they work the same.

Cheers,
It works thank you very much
 
You're welcome, hopefully it helped you learn a few things about VBA syntax.

Good luck with your project!
Cheers,
 
  • Like
Reactions: Kha

Users who are viewing this thread

Back
Top Bottom