I
Irfan Shaikh (irfan.shaikh
I am getting below error while assinging the Printer Tray.
System.Runtime.InteropServices.COMException (0x800A1200): Value out of range
at crosoft.Office.Interop.Word.PageSetup.set_FirstPageTray(WdPaperTray prop)
here is the code I wrote.
With WordApp.ActiveDocument.PageSetup
.FirstPageTray = 261
.OtherPagesTray = 261
End With
I am using Office Word Interop in my win application.
Thanks,
Irfan Shaikh
System.Runtime.InteropServices.COMException (0x800A1200): Value out of range
at crosoft.Office.Interop.Word.PageSetup.set_FirstPageTray(WdPaperTray prop)
here is the code I wrote.
With WordApp.ActiveDocument.PageSetup
.FirstPageTray = 261
.OtherPagesTray = 261
End With
I am using Office Word Interop in my win application.
Thanks,
Irfan Shaikh