I see there's an API in it. Can you please verify that you're using 64-bit version of Access 2019? Thanks.2019 version
That usually indicates a missing reference. Can you check? What happens when you click OK? When I open the file you posted, I see the startup form open.this message! at start and the form are not opening
Try the attached...just blank screen
Right, that's the part I asked about earlier. You must have a 64-bit version, but could you please confirm it though?thanx but this error pop up
Private Declare PtrSafe Function IsWindowVisible Lib "user32" (ByVal hwnd As LongPtr) As Long
Private Declare PtrSafe Function ShowWindow Lib "user32" (ByVal hwnd As LongPtr, _
ByVal nCmdShow As Long) As Long
Okay, thanks. That confirms it. Please try modifying the code as I showed you above. Good luck!
You're welcome. Let us know how it goes...thanx