Can anyone give the VBA code for MS Word bookmark?

  • Thread starter Narayana Reddy Bommu
  • Start date
N

Narayana Reddy Bommu

Hai,

I am in need of bookmarks where the bookmark inserted text alone
should be editable once the document is protected. I should restrict this
only to certain bookmarks and not for all. Give me the exact VBA code plz?

Something like this

Dim objEditor as Editor
Set objEditor = Selection.Editors.Add(wdEditorCurrent)
 
J

Jonathan West

Narayana Reddy Bommu said:
Hai,

I am in need of bookmarks where the bookmark inserted text alone
should be editable once the document is protected. I should restrict this
only to certain bookmarks and not for all. Give me the exact VBA code plz?

Something like this

Dim objEditor as Editor
Set objEditor = Selection.Editors.Add(wdEditorCurrent)

For this, it sounds like you need to use FormFields, not bookmarks.

Dian Chapman has wriiten an excellent series of articles on how to do Word
Forms.

Please Fill Out This Form
Create professional-looking forms in Word.
http://www.computorcompanion.com/LPMArticle.asp?ID=22


Please Fill Out This Form, Part 2
Adding automation to your Word forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=46

Please Fill Out This Form, Part 3
Learn more about VBA macros to automate your form.
http://www.computorcompanion.com/LPMArticle.asp?ID=119


Please Fill Out This Form, Part 4
Use custom dialog boxes in your Word forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=127


Please Fill Out This Form, Part 5
How to link your Word autoform to a database.
http://www.computorcompanion.com/LPMArticle.asp?ID=136
 

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