excel run-time error '1004'

S

Silvia

one excel apllication running in operation system and office windows 2000 has
a macro to print only some columns of my application:
application.activeprinter = 'HP DeskJet 895Cse on LPT1:' etc....

Today i was trying to run the same application in different operation system
"windows XP", conected to the same printer but in USB port. I changed the
macro to:
application.activeprinter = 'HP DeskJet 895Cse on USB001'

I was unable to run the macro giving error:
Runtime error ' 1004 ' Method ' activeprinter ' of object ' _Application '
failed ...

But the printer prints everything else...

Somebody can help me in this matter?

(I am sorry about my poor english...)
 
Top