Michelle Michy
Member
- Local time
 - Today, 09:32
 
- Joined
 - May 11, 2023
 
- Messages
 - 46
 
Hello everyone,
Kindly assist me with the following code when executed should not show Microsoft access. It should show something else which I will write.
	
	
	
		
Thanks in advance
 Kindly assist me with the following code when executed should not show Microsoft access. It should show something else which I will write.
		Code:
	
	
	Private sub Form_Open(Cancel As Integer)
    If StrComp(InputBox("Please enter the Password."), "123", 0) <> 0 Then
Cancel= True
MsgBox "Wrong Password.", v information or vbOkOnly, "Operation Cancelled"
End If
End Sub
	Thanks in advance