Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen display code for Word assistance

Status
Not open for further replies.

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top