Skip to contents

Retrieves a bookmark object from the active Word document.

Usage

wrdBookmark(name, wrd = NULL)

Arguments

name

Bookmark name.

wrd

A Word COM object. If NULL, the current active Word session is used.

Value

A Word bookmark COM object of class "COMIDispatch", or NULL if the bookmark does not exist.

Examples

if (FALSE) { # \dontrun{
bm <- wrdBookmark("intro")
} # }