grazzman
New member
Hi from Germany!
I have a little Problem with Excel Automation.
Example:
Dim objWordApplication As New Microsoft.Office.Interop.Word.ApplicationClass()
objWordApplication.ActivePrinter = "Acrobat Distiller" --- NO PROBLEMS
...
objWordApplication.Quit()
Dim objExcelApplication As New Microsoft.Office.Interop.Excel.ApplicationClass()
objExcelApplication.ActivePrinter = "Acrobat Distiller" --- ERROR at Microsoft.Office.Interop.Excel.ApplicationClass.set_ActivePrinter(String RHS): HRESULT: 0x800A03EC ---
So, Ive tried this:
objExcelApplication.ActiveWorkbook.PrintOut(ActivePrinter:="Acrobat Distiller") --- ERROR at Microsoft.Office.Interop.Excel.ApplicationClass.set_ActivePrinter(String RHS): There are no Printers installed ---
I dont know what to do... Please help
I have a little Problem with Excel Automation.
Example:
Dim objWordApplication As New Microsoft.Office.Interop.Word.ApplicationClass()
objWordApplication.ActivePrinter = "Acrobat Distiller" --- NO PROBLEMS
...
objWordApplication.Quit()
Dim objExcelApplication As New Microsoft.Office.Interop.Excel.ApplicationClass()
objExcelApplication.ActivePrinter = "Acrobat Distiller" --- ERROR at Microsoft.Office.Interop.Excel.ApplicationClass.set_ActivePrinter(String RHS): HRESULT: 0x800A03EC ---
So, Ive tried this:
objExcelApplication.ActiveWorkbook.PrintOut(ActivePrinter:="Acrobat Distiller") --- ERROR at Microsoft.Office.Interop.Excel.ApplicationClass.set_ActivePrinter(String RHS): There are no Printers installed ---
I dont know what to do... Please help