PaperSource Property

 

The PaperSource property returns or sets the printer paper tray for the worksheet. Returns a wksBin.

 

Syntax

object.PaperSource

object.PaperSource = Bin

 

Parameter

Type

Description

Bin

wksBin

required; paper tray

 

Example 1

This example demonstrates how to return the printer paper source.

 

Debug.Print WksPageSetup. PaperSource

 

Example 2

This example demonstrates how to print using paper located in the lower tray of a printer.

 

WksPageSetup.PaperSource = wksBinLower

 

Used by: WksPageSetup object