LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Printing Problems


Hello,

I have a combo box which automatically fills up with the printers that
are added to the computer's system. And then when the user presses the
print button, I have the following code:


Code:
--------------------

Application.ActivePrinter = printer.Text

--------------------


Where printer.Value is the value of the combo box which has a list of
printers.

But I get the


Run-Time error '1004'
Method 'ActivePrinter' of object '_Application' failed


What is the problem here?


--
FCC
------------------------------------------------------------------------
FCC's Profile: http://www.excelforum.com/member.php...o&userid=35888
View this thread: http://www.excelforum.com/showthread...hreadid=558282

 
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
Printing problems Bigredno8 Excel Discussion (Misc queries) 4 April 9th 06 04:06 AM
Problems printing thelos New Users to Excel 1 February 7th 06 09:57 PM
Printing Problems Craig Damons Excel Discussion (Misc queries) 1 November 29th 05 05:04 PM
Printing Problems Brad Excel Programming 1 January 6th 05 05:35 PM
Printing problems William Maka Excel Programming 0 February 4th 04 06:29 PM


All times are GMT +1. The time now is 09:41 AM.

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

About Us

"It's about Microsoft Excel"