Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Private 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
Sub PDF_Open()
StrFile = "D:\Mijn Documenten\ PDF-files\" & ActiveCell.Value & ".pdf"
With Application.FileDialog(msoFileDialogOpen)
.InitialFileName = StrFile
.Filters.Add "Adobe PDF-Bestanden (.pdf)", "*.pdf", 3
.FilterIndex = 3
If .SelectedItems.Count = 1 And .Show = -1 Then
ShellExecute 0, "Open", .SelectedItems(1), "", "", vbMaximizedFocus
End If
End With
End Sub
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.