View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
FCC[_24_] FCC[_24_] is offline
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