Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Form_Open(Cancel As Integer)
On Error Resume Next
Dim myObj As Object
Set myObj = Me.Parent
If myObj Is Nothing Then
MsgBox "This subform should be open only by the main form"
Cancel = True
End If
Set myObj = Nothing
End Sub