Function fFindBookMark(strDocName As String, strBookmark As String) Dim oWord As Object 'Start Microsoft Word and open the document Set oWord = CreateObject("Word.Application") oWord.Documents.Open strDocName oWord.Visible = True 'Find the bookmark oWord.ActiveDocument.Bookmarks(strBookmark).Select oWord.Activate End Function
Tips (Main) |
Home |