if odoc.bookmarks.Exists['somebookmark'] orange = odoc.bookmarks['somebookmark'].Range() orange.text = 'Text to fill' endif