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.
In Declarations section
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
In Code
Public Sub PrintThisDoc(formname As Long, FileName As String)
Dim x As Long
x = ShellExecute(formname, "Print", FileName, 0&, 0&, 3)
End Sub