Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Changing Excel Object's page setup wthout having a printer installed

You need to have a print driver installed (you don't need to have an actual
printer installed).

--
Regards,
Tom Ogilvy

"alijaffer " wrote in message
...
I want to be able to set the page settings of an excel report that is
being generated on our server. The problem is that the server does not
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 it
goes to the errorhandler.

appXl.ActiveSheet.PageSetup.Orientation = xlLandscape

Thanks,

Ali Jaffer


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



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

I'm just trying to find out if it is possible to do it withou
installing a printer driver.

Thank

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Changing Excel Object's page setup wthout having a printer installed

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]

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer Using USB Port Slows Page Setup Stu B Excel Discussion (Misc queries) 3 April 22nd 10 12:45 PM
Exel 2007: Export to pdf ignores page setup with SP2 installed pa Excel Discussion (Misc queries) 2 May 27th 09 08:04 AM
launch page setup with no printer vall00 Excel Discussion (Misc queries) 2 February 16th 09 10:22 PM
Changing default Page Setup Curious Ben Excel Discussion (Misc queries) 0 November 14th 07 12:27 AM
Getting "printer not installed" when trying to edit page setup jac Excel Worksheet Functions 1 March 5th 05 07:19 PM


All times are GMT +1. The time now is 02:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"