newbee2
Technical User
- Apr 21, 2002
- 85
Hi,
When i use the following code to ouput to screen i get a
window view without the standard toolbar. What is the
correct way to output to screen if I need to show toolbars
etc.
'Highlight the entire Word Document and update fields,
so the data
'written to the custom doc properties is displayed in
the
'DocProperty fields.
With objWord
.Selection.Wholestory
.Selection.Fields.Update
.Selection.Homekey unit:=6
.Activewindow.windowstate = wdWindowstateNormal
.Activewindow.View.Type = wdPrintView
.Visible = True
.Activate
End With
Kind Regards
Bill
When i use the following code to ouput to screen i get a
window view without the standard toolbar. What is the
correct way to output to screen if I need to show toolbars
etc.
'Highlight the entire Word Document and update fields,
so the data
'written to the custom doc properties is displayed in
the
'DocProperty fields.
With objWord
.Selection.Wholestory
.Selection.Fields.Update
.Selection.Homekey unit:=6
.Activewindow.windowstate = wdWindowstateNormal
.Activewindow.View.Type = wdPrintView
.Visible = True
.Activate
End With
Kind Regards
Bill