Introduction
  Welcome
  The Web Reporting Solution
  What is ExcelWriter?
  Features and Benefits
  New in This Version  V4
  Requirements
  Edition Differences
  Frequently Asked Questions
  Troubleshooting

Quick Start
  Creating Your First Spreadsheet
  Adding a Formula
  Adding Formatting
  Importing from a Database

Features In Depth
  Addressing Cells
  Setting Values
  Output Options
  Adding Charts
  Reading an Existing Spreadsheet
  Modifying an Existing Spreadsheet
  The Range Object
  Template Spreadsheets
  How to Use Templates
  ExcelApp.Open vs. ExcelTemplate
  Using ExcelTemplate with PivotTables
  Templates and Charts
  Reliable Spreadsheet Download  V4
  Page Setup
  Formatting Headers & Footers
  Protecting your Worksheet
  Multilingual Support  V4
  XML Import

HotCell Technology  V4
  What is HotCell Technology?
  Upload Example
  Advanced POST Example
  Advanced Upload Example

Programmer's Reference
  Object Model
      ExcelTemplate Object
      ExcelApplication Object
         3DProperties Object
         Area Object
         Axis Object
         Cells Object
         Cell Object
         Charts Object
         Chart Object
         ChartFrame Object
         Font Object
         Line Object
         PageSetup Object
         Pictures Object
         Picture Object
         Range Object
         SeriesCollection Object
         Series Object
         Style Object
         Worksheets Object
         Worksheet Object
  Formula Functions
  Formula Calculation Operators
  Formatting Codes
  Chart Codes

Installation
  Quick Installation
  Configuring IIS
  Security Considerations

External Links
  ExcelWriter Home Page
  Technical Support
  ExcelWriter Demos
  SoftArtisans Home Page
  E-mail General Questions
  E-mail Technical Support
  Legal Information

Page Setup

*The PageSetup object is not available in ExcelWriterSE, ExcelWriterLE, and ExcelWriter Free.


Page Setup in Microsoft Excel

In Microsoft Excel, you can set the layout properties of a printed worksheet by selecting Page Setup... from the File menu:

Excel/File/Page Setup...

If you set Page Setup properties in Microsoft Excel, and open the spreadsheet with ExcelWriter, the Page Setup settings will be preserved. Alternatively, use ExcelWriter's PageSetup object to set layout properties in script.

Top


ExcelWriter's PageSetup Object

* The PageSetup object is not available in ExcelWriterSE, ExcelWriterLE, and ExcelWriter Free.

ExcelWriter's PageSetup object represents the layout properties of a printed worksheet. To create a PageSetup object with ExcelWriter, use,

	Set PageSetup = Worksheet.PageSetup

Note: Since this object is tightly related to client's printer setup, for those computers without a printer setup, changes to this object have no effect.

PageSetup Properties PageSetup Methods

Top


Example

features/pagesetup.asp

[View Source]

Top


Copyright © 2003, SoftArtisans, Inc.