newbee2
Technical User
- Apr 21, 2002
- 85
Hi,
From access I can mailmerge to a word document, save it, and then display the Doc in a window so that it can be added to etc.
What I can't do is get the toolbar etc to show, I can only get the Window view. Using the following code.
'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
.Visible = True
.Activate
End With
What is needed is the full shabang to show so that the document can be printed etc instead of the window view.
Thanking anyone in advance.
Kind Regards
Bill
From access I can mailmerge to a word document, save it, and then display the Doc in a window so that it can be added to etc.
What I can't do is get the toolbar etc to show, I can only get the Window view. Using the following code.
'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
.Visible = True
.Activate
End With
What is needed is the full shabang to show so that the document can be printed etc instead of the window view.
Thanking anyone in advance.
Kind Regards
Bill