Show tracking on open

G

Glenn

I having a little trouble creating a simple routine that
will show tracking on opening a document.

We've had several episodes where people have been working
in "final" view, oblivious to the tracking happeing in
the background.

I can get it to accept or reject changes on opening, but
i just want to change the view to "Final showing markup"

We have Word XP in the office, but often work on Word 97
documents from clients.

Any suggestions would be great.

Thanks
 
D

DA

Hi Glenn

Try the following:
With ActiveWindow.View
.ShowRevisionsAndComments = True
.RevisionsView = wdRevisionsViewFinal
End With

You can put the above into the document_open() event.
This way you'd get the required view when you open your
document.
 
G

Guest

Thanks for the reply

That's exactly what i had tried, but it doesn't seem to
work.

I've created the event document_open() and saved into its
own template "show_trck.dot" and added the template to
the Word start up folder so its loaded as an AddIn when
Word opens.

But the view still doesn't change.
is there a step im missing here maybe?

Glenn
 
D

DA

Where have you got your document_open() routine?

From the vba editor, double-click on the "ThisDocument"
object under the Microsoft Word Objects.
There's two drop down boxes at the top of the code
window.

Select the left one and pick "Document"
Then choose "Open" from the right.
This will add the open event into your document.

If you still can't get that to work, try placing an
AutoExec() sub-routine at the start of your module code.
 
P

Peter Hewett

Hi DA

Unless the OP has created an AddIn AutoExec is not going to fire. AutoExec procedure are
only run when an AddIn is loaded. I think you mean either AutoOpen or AutoNew.

HTH + Cheers - Peter
 

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