Changing Excel Object's page setup wthout having a printer installed

  • Thread starter Thread starter alijaffer
  • Start date Start date
A

alijaffer

I want to be able to set the page settings of an excel report that i
being generated on our server. The problem is that the server does no
have a printer installed on it.

Is there any way for me to do this?

If I install a printer the following code works. If I don't then i
goes to the errorhandler.

appXl.ActiveSheet.PageSetup.Orientation = xlLandscape

Thanks,

Ali Jaffe
 
You need to have a print driver installed (you don't need to have an actual
printer installed).
 
I'm just trying to find out if it is possible to do it withou
installing a printer driver.

Thank
 
Hi Ali,
I'm just trying to find out if it is possible to do it without
installing a printer driver.

As Tom said, it is not possible to use PageSetup without installing a
printer driver.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top