I an't get it to work
I have as you said put the coding in a module. i am running the command from a comand button from a form. but vba doesn't even get pass
Public Function EnableDisableControlBoxX(bEnable As Boolean, Optional ByVal lhWndTarget As Long = 0) As Long
it gives me a compile...