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.
Function fctnOpenDoc(strDoc as string)
On Error GoTo Err_fctnOpenDoc
DoCmd.Hourglass True
Dim RetVal
RetVal = Shell("winword '" & strDoc & "'", vbNormalFocus)
Exit_fctnOpenDoc:
DoCmd.Hourglass False
Exit Function
Err_fctnOpenDoc:
If Err.Number = 2475 Then
Resume Next
Else
MsgBox Err.Number & ": " & Err.Description
Resume Exit_fctnOpenDoc
End If
End Function