Version Ref: Version 6.1.00 (USP 6.0.03)
Syntax:
e = XL_PAPERTYPE(type [, sheet])
Set the paper format for the printed output of a worksheet.
Parameters -
type : The paper format to use with a printed worksheet. Must be one of
the following values.
"default"
"letter"
"tabloid"
"ledger"
"legal"
"statement"
"executive"
"a3"
"a4"
"a5"
"b4"
"b5"
"folio"
"quarto"
"10x14"
"11x17"
"note"
"envelope"
"envelope_9"
"envelope_10"
"envelope_11"
"envelope_12"
"envelope_14"
"c"
"d"
"e"
"envelope_dl"
"envelope_c3"
"envelope_c4"
"envelope_c5"
"envelope_c6"
"envelope_c65"
"envelope_b4"
"envelope_b5"
"envelope_b6"
"monarch"
"fanfold"
"german_std_fanfold"
"german_legal_fanfold"
sheet : Handle of sheet to change type. Use blank, "0", or "-1" to use
the default sheet.
Returns "1" on success and "-1" on error. XL_ERROR() can be called to return
the last error.