View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
alijaffer alijaffer is offline
external usenet poster
 
Posts: 1
Default Changing Excel Object's page setup wthout having a printer installed

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

--
Message posted from http://www.ExcelForum.com