General information
Category:
COM/DCOM and OLE Automation
I've resorted to the following using a Macro as a workaround in MSWORD.
I'm unsure as to how wise it is to invest any more time in getting Word 6
to cooperate, as it does not seem to implement OLE in the easiest or
most consistent way. Can anyone tell me what version of WORD was
the first to have OLE Browser and more reliable OLE capacity?
oWord = CREATEOBJECT("Word.Basic") && Load BASIC functions
oWord.AppShow()
oWord.AppMaximize()
oWord.FileNewDefault()
oWord.ToolsMacro("Legal",1) && See Legal macro Wordbasic contents below
oWord.FileprintPreview() && check it out.
; WordBasic macro
Sub MAIN
FilePageSetup .ApplyPropsTo = 4, .PageHeight = "14in"
End Sub
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only