Macro to unprotect, refresh and proetct

R

RaviS

Guys,

I have a word document which contains another document as a linked object.

Lets says that there are two sections to this word document. The first
section is the linked object and the second section is editable.
I want a write a macro to protect the first section (the linked object) so
that no user should be able to modify it.

When I open this document, the macro should do three things without the user
clicking on any button or shortcut key

1. Unprotect the document.
2. Refresh the linked object
3. Protect it back again.

Is there a way to achieve this with the help of macros? I am totally new to
macros and VBA.
Your help will be greatly appreciated.

Regards,
Ravi
 

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