View Single Post
  #3  
Old June 9th, 2005, 01:04 PM
Thure
external usenet poster
 
Posts: n/a
Default

Greg,

I haven't tried this befo Could you explain a bit more where you put the
macro text and what you mean by using an AutoOpen macro (your code is only
for AutoNew ??)

Like John, I also get frustrated about all the various toolbars that love to
come up and fill my screen, so your macro would be great!


Thanks, Thure
--


"Greg" wrote:

John,

I use a AutoNew and AutoOpen macro in my document templates to
"harness" annoying display and toolbars. Something like:

Sub AutoNew()
ActiveWindow.Caption = ActiveDocument.FullName
With ActiveWindow.View
.Type = wdPrintView
.Zoom.PageFit = wdPageFitBestFit
.FieldShading = wdFieldShadingAlways
.ShowHiddenText = False
End With
With CommandBars
.Item("Reviewing").Visible = False
.Item("Mail Merge").Visible = False
.Item("Forms").Visible = False
End With
End Sub