Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Chart to PDF OLE err
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01060492
Message ID:
01060496
Views:
17
objXLsheet.application.ActivePrinter = "Win2PDF on Ne00:"

See also message #898535


>
>loExcel = createobject("Excel.Application")
>loExcel.workbooks.open(GETFILE('xls','Excel To PDF!'))
>loExcel.Visible = .t.
>loExcel.ActiveWorkbook.Sheets(2).Activate
>loExcel.ActivePrinter = "PDF995 on PDF995PORT" && <<<------ Error Here!
>loExcel.ActiveWorkbook.Sheets(2).PrintOut
>loExcel.quit
>RELEASE loExcel, loWorkbook, loSheet
>
>
>What is the proper syntax to set Active Printer?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform