finding editable text in a document

J

Johannes Stuermer

I would like to find all editable ranges in a protected Word document. I am
aware of the SelectAllEditableRanges() method of the document object but I do
not want to actually select text, instead I just want to get access to the
range object of that text.

Thank You
Johannes Stuermer
 
K

Klaus Linke

Hi Johannes,

Perhaps this snippet gets you going?

Set myRange = myRange.GoToEditableRange(wdEditorEveryone)

(BTW, I found that in the Object Browser, searching for "editable"... after fellow MVP Beth Melton reminded me of the usefulness of the Object Browser just a couple of days ago)

Grüße,
Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top