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.
Sub ListDocWithBookmark()
Dim oFile
Dim strPath As String
Dim msg As String
strPath = "C:\test\test2\"
oFile = Dir(strPath & "*.doc")
Do While oFile <> ""
Documents.Open FileName:=strPath & oFile
If ActiveDocument.Bookmarks.Exists("findme") = True Then
msg = msg & oFile & vbCrLf
End If
Documents(oFile).Close
oFile = Dir
Loop
MsgBox "The following document(s) have the Bookmark ""findme"" " & _
vbCrLf & msg
End Sub