tank wrote:
ApertureLabs wrote:
Also getting this error. Any luck on resolving it?
What makes any of you think document is a member of the application?
why else would you be getting this error
http://msdn.microsoft.com/en-us/library/bb255823.aspx
Because the code we used was listed as sample code in the first post of this thread.
Worked around it by only grabbing the functions I needed. And then gutting the pure COM_Invoke commands from them.
My new problem is printing with Word. Because the printout method has over 9 parameters, I was wondering if there was a way to do something like this:
Code:
ActiveDocument.ActiveWindow.PrintOut _
Range:=wdPrintFromTo, From:="1", To:="3"
and be able to set parameters you need that are at the end of the method, because this is how long the printout method is:
Code:
PrintOut(Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, FileName, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight)