So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
But the problem is that, every time I got a popup message "Do you want to allow this website to open an app from your computer? App: WhatsApp". Can I disable that popup permanently?
Thanks
Code:
Dim IE As Object
Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate "whatsapp://send?phone=" & Me.Mobile & "&text=" & "Welcome! Admission of " & " " & Me.StudentName & " " & Me.Prefix & " " & Me.Father_Name & " " & "has been successful in Class" & " " & Me.Class & " " & Me.ClassSection & ". " & DLookup("[Institute Name]", "Profile")
Sleep 3000
SendKeys "~"
SendKeys "{NUMLOCK}", True
Set IE = Nothing
Thanks
Comment