Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default Duplex Printing

I am using the code from Microsoft KB article Q230743 to print in duplex from
Excel 2003 in a WinXP SP2, Office 2003 environment.

The code appears to fail on the openprinter function. The code works in
Word 2003, but when used in Excel it fails.

Does anyone have any advice?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Duplex Printing

Excel doesn't have a printer object - so how are you getting the printer
name. ActivePrinter doesn't return just the printer name.

--
Regards,
Tom Ogilvy

"Paul" wrote in message
...
I am using the code from Microsoft KB article Q230743 to print in duplex

from
Excel 2003 in a WinXP SP2, Office 2003 environment.

The code appears to fail on the openprinter function. The code works in
Word 2003, but when used in Excel it fails.

Does anyone have any advice?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default Duplex Printing



"Tom Ogilvy" wrote:

Excel doesn't have a printer object - so how are you getting the printer
name. ActivePrinter doesn't return just the printer name.

--
Regards,
Tom Ogilvy

"Paul" wrote in message
...
I am using the code from Microsoft KB article Q230743 to print in duplex

from
Excel 2003 in a WinXP SP2, Office 2003 environment.

The code appears to fail on the openprinter function. The code works in
Word 2003, but when used in Excel it fails.

Does anyone have any advice?



I am trying to use Windows API to access the printer (ActivePrinter). Will this work, or is there another approach that I should be using?


regards

Paul.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplex Printing Macro [email protected] Excel Worksheet Functions 0 April 23rd 09 07:23 PM
Printing Duplex NeedAnAnswerForMyBoss Excel Discussion (Misc queries) 3 March 5th 08 03:59 AM
Duplex printing reno Excel Discussion (Misc queries) 3 August 25th 06 05:37 PM
VBA line to set to Duplex Printing Wingtip Excel Programming 0 May 14th 04 03:40 PM
Duplex Printing Ron Dahl Excel Programming 1 October 3rd 03 02:34 AM


All times are GMT +1. The time now is 02:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"