Does anyone know how to display a Word Document in a Web Browser Control WITHOUT the scale at the top of the document, or is there a way to
turn the scale off in the document itself ?
Thanks for any help....
Printable View
Does anyone know how to display a Word Document in a Web Browser Control WITHOUT the scale at the top of the document, or is there a way to
turn the scale off in the document itself ?
Thanks for any help....
Scale? You mean the rulers?
Yes, the rulers..... I thought it would look a lot neater if the rulers weren't there....
Thanks....
It would be something like this to toggle them on or off using the Word Object Model or just VBA.
VB Code:
ActiveWindow.ActivePane.DisplayRulers = Not ActiveWindow.ActivePane.DisplayRulers
That works, thanks... but now I get that dreaded message:
Quote:
xxx.doc contains macros. Macros may contain viruses. It is usually safe
to disable macros, but if the macros are legitimate you may lose some
functionality.
Is this a public document being viewed over the internet or local on a business or private intranet?
It's going to be viewed on a business intranet by a group of about 20 users.....
You may be able to create a private digital certificate to sign your vba project behind the document. this should prevent the warning message but you may have to add the document link to IE's trusted sites list.
OK, thanks.... I don't think I want to get into it that deep...... Thanks for your help anyway....