Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hello, When I try to run the following code in a macro: Sub PrintToAnotherPrinter() Dim STDprinter As String STDprinter = Application.ActivePrinter ActivePrinter = "Adobe PDF on Ne02" End Sub I am getting an error code that looks like this: Microsoft Visual Basic Red Cross "400" OK Help Help brings up a blank screen and OK just cancels the operation. Can anyone help me with my code? Thanks! -- Vassago ------------------------------------------------------------------------ Vassago's Profile: http://www.excelforum.com/member.php...o&userid=36906 View this thread: http://www.excelforum.com/showthread...hreadid=572880 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What is the relationship between .ChartArea and the default printer ? | Charts and Charting in Excel | |||
Printing from default printer | Excel Discussion (Misc queries) | |||
excel macro to automatically change default printer | Excel Discussion (Misc queries) | |||
how do i get excel to default print to fastdraft on my HP Printer | Excel Discussion (Misc queries) | |||
Calculate commissions | Excel Worksheet Functions |