home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _E84B2462A82C43D68FD486285AC2E1B3 < prev    next >
Text File  |  2003-03-07  |  47KB  |  1,788 lines

  1. {Page}
  2.  
  3. Syntax
  4.  
  5. {Page.Property}
  6.  
  7. Description
  8.  
  9. {Page} affects the active sheet(s). The next table lists the possible settings for Property. To display a property description with syntax, choose the property in the following list:
  10.  
  11. Property    Description
  12.  
  13. Conditional_Color    Changes the color of specific types of data in the active sheet: values above or below a specified range, and ERR values
  14.  
  15. Default_Width    Sets the default width of all columns in the active sheet
  16.  
  17. Display    Sets display characteristics for the active sheet
  18.  
  19. Name    Controls the name of the active sheet
  20.  
  21. Protection    Turns on protection in the active sheet
  22.  
  23. Tab_Color    Changes the tab color of the active sheet
  24.  
  25. Zoom_Factor    Lets you pull back to see a whole printed page, or focus in on the detail of a few cells
  26.  
  27. You can use {Page?} or {Page!} to display the Active Sheet dialog box. {Page?} lets you manipulate the dialog box, whereas {Page!} relies on the macro to manipulate it.
  28.  
  29. {Page.Conditional_Color}
  30.  
  31. Syntax
  32.  
  33. {Page.Conditional_Color<Option>}
  34.  
  35. PerfectScript Syntax
  36.  
  37. Page_Conditional_Color (Settings:String)
  38.  
  39. Page_Conditional_Color_Above_Normal_Color (ColorID:Numeric)
  40.  
  41. Page_Conditional_Color_Below_Normal_Color (ColorID:Numeric)
  42.  
  43. Page_Conditional_Color_Enable (Enable?:Enumeration {Yes!; No!})
  44.  
  45. Page_Conditional_Color_ERR_Color (ColorID:Numeric)
  46.  
  47. Page_Conditional_Color_Greatest_Normal_Value (Value:Numeric)
  48.  
  49. Page_Conditional_Color_Normal_Color (ColorID:Numeric)
  50.  
  51. Page_Conditional_Color_Smallest_Normal_Value (Value:Numeric)
  52.  
  53. Description
  54.  
  55. {Page.Conditional_Color} is equivalent to thesheet property Conditional Color, which makes cells change text color (based on the value in the cell). Each color specified in these commands is a number from 0 to 15, corresponding to which color of the notebook palette to use (1 through 16).
  56.  
  57. Example
  58.  
  59. The following macro makes negative values red, values greater than 10,000 green, ERR cells cyan, and positive values less than 10,000 black (assuming the default notebook palette is used).
  60.  
  61.     {Page.Conditional_Color "Yes,0,10000,4,3,5,7"}
  62.  
  63. Options
  64.  
  65. {Page.Conditional_Color "Enable, SmallVal, GreatVal, BelowColor, NormalColor, AboveColor, ERRColor"}    Changes the color of specific types of data in the active sheet: values above or below a specified range, and ERR values
  66.  
  67. {Page.Conditional_Color.Above_Normal_Color 0-15}    Sets the color of cells whose values are above the Greatest Normal Value
  68.  
  69. {Page.Conditional_Color.Below_Normal_Color 0-15}    Sets the color of cells whose values are below the Smallest Normal Value
  70.  
  71. {Page.Conditional_Color.Enable Yes|No}    Indicates whether to use the conditional colors set with this property
  72.  
  73. {Page.Conditional_Color.ERR_Color 0-15}    Specifies the color to use for ERR and NA values generated by formula errors
  74.  
  75. {Page.Conditional_Color.Greatest_Normal_Value Value}    Specifies the largest value of the range of values you consider normal
  76.  
  77. {Page.Conditional_Color.Normal_Color 0-15}    Sets the color of cells whose value falls within the range set by the Smallest Normal Value and the Greatest Normal Value
  78.  
  79. {Page.Conditional_Color.Smallest_Normal_Value Value}    Specifies the smallest value of the range of values you consider normal
  80.  
  81. {Page.Default_Width}
  82.  
  83. Syntax
  84.  
  85. Page_Default_Width(Width As Integer)
  86.  
  87. PerfectScript Syntax
  88.  
  89. Page_Default_Width (Width:Numeric)
  90.  
  91. Description
  92.  
  93. {Page.Default_Width} is equivalent to the sheet property Default Width. It sets the default column width of the active sheet. Width is the new column width in twips (a twip is 1/1440th of an inch).
  94.  
  95. Example
  96.  
  97. {Page.Default_Width "720"} makes the default column width a half inch (720 twips).
  98.  
  99. {Page.Display
  100.  
  101. Syntax
  102.  
  103. {Page.Display<Option>}
  104.  
  105. PerfectScript Syntax
  106.  
  107. Page_Display (Settings:String)
  108.  
  109. Page_Display_Borders (Settings:String)
  110.  
  111. Page_Display_Borders_Column_Borders (Show?:Enumeration {Yes!; No!})
  112.  
  113. Page_Display_Borders_Row_Borders (Show?:Enumeration {Yes!; No!})
  114.  
  115. Page_Display_Display_Zeros (Show?:Enumeration {Yes!; No!})
  116.  
  117. Page_Display_Grid_Lines (Settings:String)
  118.  
  119. Page_Display_Grid_Lines_Horizontal (Show?:Enumeration {Yes!; No!})
  120.  
  121. Page_Display_Grid_Lines_Vertical (Show?:Enumeration {Yes!; No!})
  122.  
  123. Description
  124.  
  125. {Page.Display} is equivalent to the sheet property Display, which sets the display of zeros, borders, and grid lines. The arguments of {Page.Display} (which sets all options of the Display property in one command) use the same syntax as those in the {Page.Display.Option} commands. All {Page.Display} arguments take Yes|No string values.
  126.  
  127. Example
  128.  
  129. The following macro displays zero values on the sheet, but hides borders and grid lines.
  130.  
  131. {Page.Display "Yes,No,No,No,No"}
  132.  
  133. Options
  134.  
  135. {Page.Display DisplayZeros?(Yes|No), RowBorders?(Yes|No), ColumnBorders?(Yes|No), HorzGridLines?(Yes|No), VertGridLines?(Yes|No)}    Sets display characteristics for the active sheet
  136.  
  137. {Page.Display.Borders "RowBorders?(Yes|No), ColumnBorders?(Yes|No)}    Turns border options off and on in the active sheet
  138.  
  139. {Page.Display.Borders.Column_Borders Yes|No}    Turns column borders off and on in the active sheet
  140.  
  141. {Page.Display.Borders.Row_Borders Yes|No}    Turns row borders off and on in the active sheet
  142.  
  143. {Page.Display.Display_Zeros Yes|No}    Suppresses display of any value in the active sheet that exactly equals zero
  144.  
  145. {Page.Display.Grid_Lines "HorizGridLines?(Yes|No), VertGridLines?(Yes|No)"}    Turns spreadsheet grid off and on in the active sheet
  146.  
  147. {Page.Display.Grid_Lines.Horizontal Yes|No}    Turns horizontal spreadsheet grid off and on in the active sheet
  148.  
  149. {Page.Display.Grid_Lines.Vertical Yes|No}    Turns vertical spreadsheet grid off and on in the active sheet
  150.  
  151. {Page.Name}
  152.  
  153. Syntax
  154.  
  155. {Page.Name NewName}
  156.  
  157. PerfectScript Syntax
  158.  
  159. Page_Name (NewName:String)
  160.  
  161. Description
  162.  
  163. {Page.Name NewName} is equivalent to the sheet property Name. It sets the name of the active sheet to NewName.
  164.  
  165. {Page.Protection}
  166.  
  167. Syntax
  168.  
  169. {Page.Protection<Option>}
  170.  
  171. Syntax
  172.  
  173. Page_Protection (Settings:String)
  174.  
  175. Page_Protection_Cells (Protect?:Enumeration {Yes!; No!})
  176.  
  177. Page_Protection_Objects (Protect?:Enumeration {Yes!; No!})
  178.  
  179. Description
  180.  
  181. {Page.Protection} is equivalent to the sheet property Protection. It enables or disables cell and object protection on the active sheet.
  182.  
  183. Options
  184.  
  185. {Page.Protection "CellLocking?(Yes|No), ObjectLocking?(Yes|No)"}    Turns on protection in the active sheet
  186.  
  187. {Page.Protection.Cells Yes|No}    Protects all cell entries in the active sheet
  188.  
  189. {Page.Protection.Objects Yes|No}    Protects all objects in the active sheet
  190.  
  191. {Page.Tab_Color}
  192.  
  193. Syntax
  194.  
  195. {Page.Tab_Color "Red, Green, Blue, UseRGB?"}
  196.  
  197. PerfectScript Syntax
  198.  
  199. Page_Tab_Color (Settings:String)
  200.  
  201. Description
  202.  
  203. {Page.Tab_Color} changes the tab color of the active sheet; Red, Green, and Blue are integers from 0 to 255.
  204.  
  205. {Page.Zoom_Factor}
  206.  
  207. Syntax
  208.  
  209. {Page.Zoom_Factor 10-400}
  210.  
  211. PerfectScript Syntax
  212.  
  213. Page_Zoom_Factor (Factor:Numeric)
  214.  
  215. Description
  216.  
  217. {Page.Zoom_Factor} sets the zoom factor of the active sheet (from 10% to 400%). This setting is for display only and does not affect printed output.
  218.  
  219. {PageViewGoto}
  220.  
  221. Description
  222.  
  223. Switches from either the Objects Sheet or the sheet in Draft mode to Page View.
  224.  
  225. {PANELOFF}
  226.  
  227. Description
  228.  
  229. {PANELOFF} disables normal display of menus and prompts during macro execution when Quattro Pro's Macro Suppress-Redraw property is set to None. It can significantly speed up execution for macros that use keystrokes to walk through menus, since it saves Quattro Pro the time normally needed to draw its menus on the screen. Its effect is canceled by Quattro Pro once the macro stops executing, so you need not worry about locking macro users out of the menus. To cancel its effect during macro execution, use {PANELON}.
  230.  
  231. {PANELON}
  232.  
  233. Description
  234.  
  235. {PANELON} enables display of menus and prompts that have been disabled with {PANELOFF}. {PANELON} has no effect if used without an accompanying {PANELOFF}. Therefore, it can be used repeatedly with no ill effects.
  236.  
  237. Use this command with {WINDOWSON} to completely restore normal screen updating.
  238.  
  239. {ParseExpert.ApplyFormatting}
  240.  
  241. Syntax
  242.  
  243. {ParseExpert.ApplyFormatting Apply}
  244.  
  245. PerfectScript Syntax
  246.  
  247. ParseExpert_ApplyFormatting (Apply?:Enumeration {Yes!; No!})
  248.  
  249. Description
  250.  
  251. Lets you specify whether the column alignment and format specified in the Preview pane should be applied to the destination cells.
  252.  
  253. Parameter
  254.  
  255. Apply    0 Do not apply to the destination cells.
  256.  
  257. 1 Apply to the destination cells.
  258.  
  259. {ParseExpert.CellDelimiterString}
  260.  
  261. Syntax
  262.  
  263. {ParseExpert.CellDelimiterString Value}
  264.  
  265. PerfectScript Syntax
  266.  
  267. ParseExpert_CellDelimiterString (Value?: String)
  268.  
  269. Description
  270.  
  271. Lets you specify the string to use as the cell delimiter.
  272.  
  273. Parameter
  274.  
  275. Value    The string
  276.  
  277. {ParseExpert.CellDelimiterTypeComma}
  278.  
  279. Syntax
  280.  
  281. {ParseExpert.CellDelimiterTypeComma Enable}
  282.  
  283. PerfectScript Syntax
  284.  
  285. ParseExpert_CellDelimiterTypeComma {Yes!; No!}
  286.  
  287. Description
  288.  
  289. Lets you specify whether or not to make the cell delimiter a comma.
  290.  
  291. Parameter
  292.  
  293. Enable    0 Do not make the cell delimiter a comma.
  294.  
  295. 1 Make the cell delimiter a comma
  296.  
  297. {ParseExpert.CellDelimiterTypeMultiSpace}
  298.  
  299. Syntax
  300.  
  301. {ParseExpert.CellDelimiterTypeMultiSpace Enable}
  302.  
  303. PerfectScript Syntax
  304.  
  305. ParseExpert_CellDelimiterTypeMultiSpace {Yes!; No!}
  306.  
  307. Description
  308.  
  309. Lets you specify whether or not to make the cell delimiter a multi-space.
  310.  
  311. Parameter
  312.  
  313. Enable    0 Do not make the cell delimiter a multi-space.
  314.  
  315. 1 Make the cell delimiter a multi-space.
  316.  
  317. {ParseExpert.CellDelimiterTypeOther}
  318.  
  319. Syntax
  320.  
  321. {ParseExpert.CellDelimiterTypeOther Enable}
  322.  
  323. PerfectScript Syntax
  324.  
  325. ParseExpert_CellDelimiterTypeOther {Yes!; No!}
  326.  
  327. Description
  328.  
  329. Lets you specify whether or not to make the cell delimiter a character other than a comma, a multi-space, a semicolon, a space,.or a tab.
  330.  
  331. Parameter
  332.  
  333. Enable    0 Do not make the cell delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  334.  
  335. 1 Make the cell delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  336.  
  337. {ParseExpert.CellDelimiterTypeReturn}
  338.  
  339. Syntax
  340.  
  341. {ParseExpert.Return Enable}
  342.  
  343. PerfectScript Syntax
  344.  
  345. ParseExpert_CellDelimiterTypeReturn {Yes!; No!}
  346.  
  347. Description
  348.  
  349. Lets you specify whether or not to make the cell delimiter a carriage return.
  350.  
  351. Parameter
  352.  
  353. Enable    0 Do not make the cell delimiter a carriage return.
  354.  
  355. 1 Make the cell delimiter a carriage return.
  356.  
  357. {ParseExpert.CellDelimiterTypeSemiColon}
  358.  
  359. Syntax
  360.  
  361. {ParseExpert.CellDelimiterTypeSemiColon Enable}
  362.  
  363. PerfectScript Syntax
  364.  
  365. ParseExpert_CellDelimiterTypeSemiColon {Yes!; No!}
  366.  
  367. Description
  368.  
  369. Lets you specify whether or not to make the cell delimiter a semicolon.
  370.  
  371. Parameter
  372.  
  373. Enable    0 Do not make the cell delimiter a semicolon.
  374.  
  375. 1 Make the cell delimiter a semicolon.
  376.  
  377. {ParseExpert.CellDelimiterTypeSpace}
  378.  
  379. Syntax
  380.  
  381. {ParseExpert.CellDelimiterTypeSpace Enable
  382.  
  383. PerfectScript Syntax
  384.  
  385. ParseExpert_CellDelimiterTypeSpace {Yes!; No!}
  386.  
  387. Description
  388.  
  389. Lets you specify whether or not to make the cell delimiter a space.
  390.  
  391. Parameter
  392.  
  393. Enable    0 Do not make the cell delimiter a space.
  394.  
  395. 1 Make the cell delimiter a space.
  396.  
  397. {ParseExpert.CellDelimiterTypeTab}
  398.  
  399. Syntax
  400.  
  401. {ParseExpert.CellDelimeterTypeTab Enable}
  402.  
  403. PerfectScript Syntax
  404.  
  405. ParseExpert_CellDelimiterTypeTab {Yes!; No!}
  406.  
  407. Description
  408.  
  409. Lets you specify whether or not to make the cell delimiter a tab.
  410.  
  411. Parameter
  412.  
  413. Enable    0 Do not make the cell delimiter a tab.
  414.  
  415. 1 Make the cell delimiter a tab.
  416.  
  417. {ParseExpert_ColumnWidths}
  418.  
  419. Syntax
  420.  
  421. ParseExpert_ColumnWidths(Apply_ As _ParseExpert_ColumnWidths_Apply__enum)
  422.  
  423. PerfectScript Syntax
  424.  
  425. ParseExpert_ColumnWidths (Apply?:Enumeration {Yes!; No!})
  426.  
  427. Description
  428.  
  429. Lets you specify whether or not the columns widths specified in the preview pane should be applied to the destination cells.
  430.  
  431. Parameter
  432.  
  433. Apply    0 Do not apply to the destination cells.
  434.  
  435. 1 Apply to the destination cells.
  436.  
  437. {ParseExpert_ConsecutiveAsOne}
  438.  
  439. Syntax
  440.  
  441. ParseExpert_ConsecutiveAsOne(Apply_ As _ParseExpert_ConsecutiveAsOne_Apply__enum)
  442.  
  443. PerfectScript Syntax
  444.  
  445. ParseExpert_ConsecutiveAsOne (Apply?:Enumeration {Yes!; No!})
  446.  
  447. Description
  448.  
  449. Lets you specify whether or not to skip the delimiters that do not enclose data.
  450.  
  451. Parameter
  452.  
  453. Apply    0 Do not skip the delimiters
  454.  
  455. 1 Skip the delimiters
  456.  
  457. {ParseExpert_DataType}
  458.  
  459. Syntax
  460.  
  461. ParseExpert_DataType(Type_ As String)
  462.  
  463. PerfectScript Syntax
  464.  
  465. ParseExpert_DataType (Type?:String)
  466.  
  467. Description
  468.  
  469. Lets you specify which additional parse options are displayed.
  470.  
  471. Parameter
  472.  
  473. Type    "Fixed" Display the fixed parse options.
  474.  
  475. "Delmited" Display the delimited parse options.
  476.  
  477. {ParseExpert.DelimiterType}
  478.  
  479. Syntax
  480.  
  481. ParseExpert_DelimiterType(Type_ As String)
  482.  
  483. PerfectScript Syntax
  484.  
  485. ParseExpert_DelimiterType (Type?:String)
  486.  
  487. Description
  488.  
  489. Lets you specify which delimiter separates text.
  490.  
  491. Parameter
  492.  
  493. Type    "Space" Separates text with a space.
  494.  
  495. "Tab" Separates text with a tab.
  496.  
  497. "Comma" Separates text with a comma.
  498.  
  499. "CommaQuote" Separates text with a comma quote.
  500.  
  501. "Other" Separates text with a delimiter other than a space, a tab, a comma, or a comma quote.
  502.  
  503. ParseExpert_Go
  504.  
  505. Syntax
  506.  
  507. ParseExpert_Go()
  508.  
  509. PerfectScript Syntax
  510.  
  511. ParseExpert_Go ()
  512.  
  513. Description
  514.  
  515. Parses the text and copies it as data to the destination cells.
  516.  
  517. ParseExpert_IgnoreNonConformingRows
  518.  
  519. Syntax
  520.  
  521.  ParseExpert_IgnoreNonConformingRows(Apply_ As _ParseExpert_IgnoreNonConformingRows_Apply__enum)
  522.  
  523. PerfectScript Syntax
  524.  
  525. ParseExpert_IgnoreNonConformingRows (Apply?:Enumeration {Yes!; No!})
  526.  
  527. Description
  528.  
  529. Lets you specify whether or not to skip the lines in the text that the QuickColumns Expert cannot parse.
  530.  
  531. Parameter
  532.  
  533. Apply    0 Do not skip the lines.
  534.  
  535. 1 Skip the lines.
  536.  
  537. {ParseExpert_InputBlock}
  538.  
  539. Syntax
  540.  
  541.  ParseExpert_InputBlock(Block_ As String)
  542.  
  543. PerfectScript Syntax
  544.  
  545. ParseExpert_InputBlock (Block?:String)
  546.  
  547. Description
  548.  
  549. Lets you specify the range of cells to parse.
  550.  
  551. Parameter
  552.  
  553. Block    The range of cells
  554.  
  555. ParseExpert_InputFile
  556.  
  557. Syntax
  558.  
  559. ParseExpert_InputFile(Filename_ As String)
  560.  
  561. PerfectScript Syntax
  562.  
  563. ParseExpert_InputFile (Filename?:String)
  564.  
  565. Description
  566.  
  567. Lets you specify the name of the file.
  568.  
  569. Parameter
  570.  
  571. Filename    The name of the file
  572.  
  573. {ParseExpert.InputType}
  574.  
  575. Syntax
  576.  
  577.  ParseExpert_InputType(Type_ As String)
  578.  
  579. PerfectScript Syntax
  580.  
  581. ParseExpert_InputType (Type?:String)
  582.  
  583. Description
  584.  
  585. Lets you specify whether you want to parse data from a file or from the spreadsheet.
  586.  
  587. Example
  588.  
  589. {ParseExpert.InputType "Block"}
  590.  
  591. Result: Parse data from the spreadsheet.
  592.  
  593. Parameter
  594.  
  595. Type    File
  596.  
  597. Parse data from a file.
  598.  
  599. Block
  600.  
  601. Parse data from the spreadsheet.
  602.  
  603. ParseExpert_JoinBrokenLines
  604.  
  605. Syntax
  606.  
  607.  ParseExpert_JoinBrokenLines(Apply_ As _ParseExpert_JoinBrokenLines_Apply__enum)
  608.  
  609. PerfectScript Syntax
  610.  
  611. ParseExpert_JoinBrokenLines (Apply?:Enumeration {Yes!; No!})
  612.  
  613. Description
  614.  
  615. Lets you specify whether or not to restore the wrapped lines in the text file to single lines.
  616.  
  617. Parameter
  618.  
  619. Apply    0 Do not restore the wrapped lines.
  620.  
  621. 1 Restore the wrapped lines.
  622.  
  623. {ParseExpert_LineLength}
  624.  
  625. Syntax
  626.  
  627. ParseExpert_LineLength(Length_ As Integer)
  628.  
  629. PerfectScript Syntax
  630.  
  631. ParseExpert_LineLength (Length?:Numeric)
  632.  
  633. Description
  634.  
  635. Lets you specify the number of characters to count before restoring wrapped lines to single files.
  636.  
  637. Parameter
  638.  
  639. Length    The number of characters to count
  640.  
  641. {ParseExpert_LoadSettings}
  642.  
  643. Syntax
  644.  
  645. ParseExpert_LoadSettings()
  646.  
  647. PerfectScript Syntax
  648.  
  649. ParseExpert_LoadSettings ()
  650.  
  651. Description
  652.  
  653. Loads the saved parse settings.
  654.  
  655. {ParseExpert_OtherDelimiter}
  656.  
  657. Syntax
  658.  
  659. ParseExpert_OtherDelimiter(Delimiter_ As String)
  660.  
  661. PerfectScript Syntax
  662.  
  663. ParseExpert_OtherDelimiter (Delimiter?:String)
  664.  
  665. Description
  666.  
  667. Lets you specify the character to separate the text other than a tab, a comma, a quote, or a space.
  668.  
  669. Parameter
  670.  
  671. Delimiter    The character to separate the text
  672.  
  673. {ParseExpert_OutputBlock}
  674.  
  675. Syntax
  676.  
  677. ParseExpert_OutputBlock(Block_ As String)
  678.  
  679. PerfectScript Syntax
  680.  
  681. ParseExpert_OutputBlock (Block?:String)
  682.  
  683. Description
  684.  
  685. Lets you specify the cells where you want to enter the parsed text.
  686.  
  687. Parameter
  688.  
  689. Block    The cells where you want to enter the parsed text
  690.  
  691. ParseExpert_PageLength
  692.  
  693. Syntax
  694.  
  695. ParseExpert_PageLength(Length_ As Integer)
  696.  
  697. PerfectScript Syntax
  698.  
  699. ParseExpert_PageLength (Length?:Numeric)
  700.  
  701. Description
  702.  
  703. Lets you specify the number of unparsed text lines on each page.
  704.  
  705. Parameter
  706.  
  707. Length    The number of unparsed text lines
  708.  
  709. {ParseExpert_PageLengthEnabled}
  710.  
  711. Syntax
  712.  
  713. ParseExpert_PageLengthEnabled(Apply_ As _ParseExpert_PageLengthEnabled_Apply__enum)
  714.  
  715. PerfectScript Syntax
  716.  
  717. ParseExpert_PageLengthEnabled (Apply?:Enumeration {Yes!; No!})
  718.  
  719. Description
  720.  
  721. Lets you specify whether to skip text rows or to copy text rows into the destination cells as unparsed text.
  722.  
  723. Parameter
  724.  
  725. Apply    0 Skips text rows
  726.  
  727. 1 Copies text rows
  728.  
  729. {ParseExpert_Restore}
  730.  
  731. Syntax
  732.  
  733. ParseExpert_Restore()
  734.  
  735. PerfectScript Syntax
  736.  
  737. ParseExpert_Restore ()
  738.  
  739. Description
  740.  
  741. Restores the current page settings to the default page settings.
  742.  
  743. Note
  744.  
  745.   You do not need to use this command in versions of Quattro Pro later than Corel Quattro Pro 8.
  746.   
  747. {ParseExpert_RowDelimiterString}
  748.  
  749. Syntax
  750.  
  751. ParseExpert_RowDelimiterString(Value_ As String)
  752.  
  753. PerfectScript Syntax
  754.  
  755. ParseExpert_RowDelimiterString (Value?:String)
  756.  
  757. Description
  758.  
  759. Lets you specify the row delimiter
  760.  
  761. Parameter
  762.  
  763. Value    The row delimiter
  764.  
  765. {ParseExpert_RowDelimiterTypeComma}
  766.  
  767. Syntax
  768.  
  769. ParseExpert_RowDelimiterTypeComma(Enable_ As _ParseExpert_RowDelimiterTypeComma_Enable__enum)
  770.  
  771. PerfectScript Syntax
  772.  
  773. ParseExpert_RowDelimiterTypeComma {Yes!; No!}
  774.  
  775. Description
  776.  
  777. Lets you specify whether or not to make the row delimiter a comma.
  778.  
  779. Parameter
  780.  
  781. Enable    0 Do not make the row delimiter a comma.
  782.  
  783. 1 Make the row delimiter a comma.
  784.  
  785. {ParseExpert.RowDelimiterTypeMultiSpace}
  786.  
  787. Syntax
  788.  
  789. ParseExpert_RowDelimiterTypeMultiSpace(Enable_ As _ParseExpert_RowDelimiterTypeMultiSpace_Enable__enum)
  790.  
  791. PerfectScript Syntax
  792.  
  793. ParseExpert_RowDelimiterTypeMultiSpace {Yes!; No!}
  794.  
  795. Description
  796.  
  797. Lets you specify whether or not to make the row delimiter a multi-space.
  798.  
  799. Parameter
  800.  
  801. Enable    0 Do not make the row delimiter a multi-space
  802.  
  803. 1 Make the row delimiter a multi-space.
  804.  
  805. {ParseExpert_RowDelimiterTypeOther}
  806.  
  807. Syntax
  808.  
  809.  ParseExpert_RowDelimiterTypeOther(Enable_ As _ParseExpert_RowDelimiterTypeOther_Enable__enum)
  810.  
  811. PerfectScript Syntax
  812.  
  813. ParseExpert_RowDelimiterTypeOther {Yes!; No!}
  814.  
  815. Description
  816.  
  817. Lets you specify whether or not to make the row delimiter a character other than a comma, a multi-space, a semicolon, a space,.or a tab.
  818.  
  819. Parameter
  820.  
  821. Enable    0 Do not make the row delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  822.  
  823. 1 Make the row delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  824.  
  825. {ParseExpert_RowDelimiterTypeReturn}
  826.  
  827. Syntax
  828.  
  829.  ParseExpert_RowDelimiterTypeReturn(Enable_ As _ParseExpert_RowDelimiterTypeReturn_Enable__enum)
  830.  
  831. PerfectScript Syntax
  832.  
  833. ParseExpert_RowDelimiterTypeReturn {Yes!; No!}
  834.  
  835. Description
  836.  
  837. Lets you specify whether or not to make the row delimiter a carriage return.
  838.  
  839. Parameter
  840.  
  841. Enable    0 Do not make the row delimiter a carriage return.
  842.  
  843. 1 Make the row delimiter a carriage return.
  844.  
  845. {ParseExpert.RowDelimiterTypeSemiColon}
  846.  
  847. Syntax
  848.  
  849. ParseExpert_RowDelimiterTypeSemiColon(Enable_ As _ParseExpert_RowDelimiterTypeSemiColon_Enable__enum)
  850.  
  851. PerfectScript Syntax
  852.  
  853. ParseExpert_RowDelimiterTypeSemiColon {Yes!; No!}
  854.  
  855. Description
  856.  
  857. Lets you specify whether or not to make the row delimiter a semicolon.
  858.  
  859. Parameter
  860.  
  861. Enable    0 Do not make the row delimiter a semicolon.
  862.  
  863. 1 Make the row delimiter a semicolon.
  864.  
  865. {ParseExpert_RowDelimiterTypeSpace}
  866.  
  867. Syntax
  868.  
  869. ParseExpert_RowDelimiterTypeSpace(Enable_ As _ParseExpert_RowDelimiterTypeSpace_Enable__enum)
  870.  
  871. PerfectScript Syntax
  872.  
  873. ParseExpert_RowDelimiterTypeSpace {Yes!; No!}
  874.  
  875. Description
  876.  
  877. Lets you specify whether or not to make the row delimiter a space.
  878.  
  879. Parameter
  880.  
  881. Enable    0 Do not make the row delimiter a space.
  882.  
  883. 1 Make the row delimiter a space.
  884.  
  885. {ParseExpert.RowDelimiterTypeTab}
  886.  
  887. Syntax
  888.  
  889. ParseExpert_RowDelimiterTypeTab(Enable_ As _ParseExpert_RowDelimiterTypeTab_Enable__enum)
  890.  
  891. PerfectScript Syntax
  892.  
  893. ParseExpert_RowDelimiterTypeTab {Yes!; No!}
  894.  
  895. Description
  896.  
  897. Lets you specify whether or not to make the row delimiter a tab.
  898.  
  899. Parameter
  900.  
  901. Enable    0 Do not make the row delimiter a tab.
  902.  
  903. 1 Make the row delimiter a tab.
  904.  
  905. {ParseExpert_SaveSettings}
  906.  
  907. Syntax
  908.  
  909.  ParseExpert_SaveSettings()
  910.  
  911. PerfectScript Syntax
  912.  
  913. ParseExpert_SaveSettings ()
  914.  
  915. Description
  916.  
  917. Saves the current parse settings.
  918.  
  919. {ParseExpert_SettingsFile}
  920.  
  921. Syntax
  922.  
  923.  ParseExpert_SettingsFile(Filename_ As String)
  924.  
  925. PerfectScript Syntax
  926.  
  927. ParseExpert_SettingsFile (Filename?:String)
  928.  
  929. Description
  930.  
  931. Save the current parse settings as a file.
  932.  
  933. Parameter
  934.  
  935. Filename    The name of the file
  936.  
  937. {ParseExpert_SheetDelimiterString}
  938.  
  939. Syntax
  940.  
  941. ParseExpert_SheetDelimiterString(Value_ As String)
  942.  
  943. PerfectScript Syntax
  944.  
  945. ParseExpert_SheetDelimiterString (Value?: String)
  946.  
  947. Description
  948.  
  949. Lets you specify the sheet delimiter.
  950.  
  951. Parameter
  952.  
  953. Value    The sheet delimiter
  954.  
  955. {ParseExpert_SheetDelimiterTypeComma}
  956.  
  957. Syntax
  958.  
  959.  ParseExpert_SheetDelimiterTypeComma(Enable_ As _ParseExpert_SheetDelimiterTypeComma_Enable__enum)
  960.  
  961. PerfectScript Syntax
  962.  
  963. ParseExpert_SheetDelimiterTypeComma (Yes!; No!)
  964.  
  965. Description
  966.  
  967. Lets you specify whether or not to make the sheet delimiter a comma.
  968.  
  969. Parameter
  970.  
  971. Enable    0 Do not make the sheet delimiter a comma.
  972.  
  973. 1 Make the sheet delimiter a comma.
  974.  
  975. {ParseExpert_SheetDelimiterTypeMultiSpace}
  976.  
  977. Syntax
  978.  
  979. ParseExpert_SheetDelimiterTypeMultiSpace(Enable_ As _ParseExpert_SheetDelimiterTypeMultiSpace_Enable__enum)
  980.  
  981. PerfectScript Syntax
  982.  
  983. ParseExpert_SheetDelimiterTypeMultiSpace (Yes!; No!)
  984.  
  985. Description
  986.  
  987. Lets you specify whether or not to make the sheet delimiter a multi-space.
  988.  
  989. Parameter
  990.  
  991. Enable    0 Do not make the sheet delimiter a multi-space.
  992.  
  993. 1 Make the sheet delimiter a multi-space.
  994.  
  995. {ParseExpert_SheetDelimiterTypeOther}
  996.  
  997. Syntax
  998.  
  999. ParseExpert_SheetDelimiterTypeOther(Enable_ As _ParseExpert_SheetDelimiterTypeOther_Enable__enum)
  1000.  
  1001. PerfectScript Syntax
  1002.  
  1003. ParseExpert_SheetDelimiterTypeOther (Yes!; No!)
  1004.  
  1005. Description
  1006.  
  1007. Lets you specify whether or not to make the sheet delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  1008.  
  1009. Parameter
  1010.  
  1011. Enable    0 Do not make the sheetdelimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  1012.  
  1013. 1 Make the sheet delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  1014.  
  1015. {ParseExpert.SheetDelimiterTypeReturn}
  1016.  
  1017. Syntax
  1018.  
  1019. ParseExpert_SheetDelimiterTypeReturn(Enable_ As _ParseExpert_SheetDelimiterTypeReturn_Enable__enum)
  1020.  
  1021. PerfectScript Syntax
  1022.  
  1023. ParseExpert_SheetDelimiterTypeReturn (Yes!; No!)
  1024.  
  1025. Description
  1026.  
  1027. Lets you specify whether or not to make the sheet delimiter a carriage return.
  1028.  
  1029. Parameter
  1030.  
  1031. Enable    0 Do not make the sheet delimiter a carriage return.
  1032.  
  1033. 1 Make the sheet delimiter a carriage return.
  1034.  
  1035. {ParseExpert.SheetDelimiterTypeSemiColon}
  1036.  
  1037. Syntax
  1038.  
  1039. ParseExpert_SheetDelimiterTypeSemiColon(Enable_ As _ParseExpert_SheetDelimiterTypeSemiColon_Enable__enum)
  1040.  
  1041. PerfectScript Syntax
  1042.  
  1043. ParseExpert_SheetDelimiterTypeSemiColon (Yes!; No!)
  1044.  
  1045. Description
  1046.  
  1047. Lets you specify whether or not to make the sheet delimiter a semicolon.
  1048.  
  1049. Parameter
  1050.  
  1051. Enable    0 Do not make the sheet delimiter a semicolon.
  1052.  
  1053. 1 Make the sheet delimiter a semicolon.
  1054.  
  1055. {ParseExpert.SheetDelimiterTypeSpace}
  1056.  
  1057. Syntax
  1058.  
  1059. ParseExpert_SheetDelimiterTypeSpace(Enable_ As _ParseExpert_SheetDelimiterTypeSpace_Enable__enum)
  1060.  
  1061. PerfectScript Syntax
  1062.  
  1063. ParseExpert_SheetDelimiterTypeSpace (Yes!; No!)
  1064.  
  1065. Description
  1066.  
  1067. Lets you specify whether or not to make the sheet delimiter a space.
  1068.  
  1069. Parameter
  1070.  
  1071. Enable    0 Do not make the sheet delimiter a space.
  1072.  
  1073. 1 Make the sheet delimiter a space.
  1074.  
  1075. {ParseExpert_SheetDelimiterTypeTab}
  1076.  
  1077. Syntax
  1078.  
  1079.  ParseExpert_SheetDelimiterTypeTab(Enable_ As _ParseExpert_SheetDelimiterTypeTab_Enable__enum)
  1080.  
  1081. PerfectScript Syntax
  1082.  
  1083. ParseExpert_SheetDelimiterTypeTab (Yes!; No!)
  1084.  
  1085. Description
  1086.  
  1087. Lets you specify whether or not to make the sheet delimiter a tab.
  1088.  
  1089. Parameter
  1090.  
  1091. Enable    0 Do not make the sheet delimiter a tab.
  1092.  
  1093. 1 Make the sheet delimiter a tab.
  1094.  
  1095. {ParseExpert.Skip1stChar}
  1096.  
  1097. Syntax
  1098.  
  1099. ParseExpert_Skip1stChar(Apply_ As _ParseExpert_Skip1stChar_Apply__enum)
  1100.  
  1101. PerfectScript Syntax
  1102.  
  1103. ParseExpert_Skip1stChar (Apply?: Enumeration {Yes!; No!})
  1104.  
  1105. Description
  1106.  
  1107. Lets you specify whether or not to skip the first character in a line of text.
  1108.  
  1109. Parameter
  1110.  
  1111. Apply    0 Do not skip the first character.
  1112.  
  1113. 1 Skip the first character.
  1114.  
  1115. {ParseExpert.TextQualifier}
  1116.  
  1117. Syntax
  1118.  
  1119. ParseExpert_TextQualifier(Type_ As String)
  1120.  
  1121. PerfectScript Syntax
  1122.  
  1123. ParseExpert_TextQualifier (Type: String)
  1124.  
  1125. Description
  1126.  
  1127. Lets you specify the character that appears before and after any instance of data that contains the character specified by Other.
  1128.  
  1129. Parameter
  1130.  
  1131. Type    "SingleQuote"
  1132.  
  1133. "DoubleQuote"
  1134.  
  1135. "None"
  1136.  
  1137. {ParseExpert.ValueQualifier}
  1138.  
  1139. Syntax
  1140.  
  1141. ParseExpert_ValueQualifier(Type_ As String)
  1142.  
  1143. PerfectScript Syntax
  1144.  
  1145. ParseExpert_ValueQualifier (Type?: String)
  1146.  
  1147. Description
  1148.  
  1149. Lets you specify the character that appears before and after any instance of data that should be parsed as a value.
  1150.  
  1151. Parameter
  1152.  
  1153. Type    "SingleQuote"
  1154.  
  1155. "DoubleQuote"
  1156.  
  1157. "None"
  1158.  
  1159. {PasteFormat}
  1160.  
  1161. Syntax
  1162.  
  1163.  PasteFormat(LinkType As String)
  1164.  
  1165. PerfectScript Syntax
  1166.  
  1167. PasteFormat (LinkType:String)
  1168.  
  1169. Description
  1170.  
  1171. {PasteFormat} lets you paste data in a specific format (for example, an OLE object) into a notebook. Use LinkType to specify the paste format.
  1172.  
  1173. Example
  1174.  
  1175. {PasteFormat Bitmap} pastes the data in the Clipboard as a bitmap into the active notebook.
  1176.  
  1177. You can use {PasteFormat?} or {PasteFormat!} to display the Paste Special dialog box. {PasteSpecial?} lets you manipulate the dialog box, whereas {PasteSpecial!} relies on the macro to manipulate it.
  1178.  
  1179. Parameters
  1180.  
  1181. LinkType    Format to paste object as
  1182.  
  1183. {PasteLink}
  1184.  
  1185. Syntax
  1186.  
  1187. PasteLink()
  1188.  
  1189. Description
  1190.  
  1191. {PasteLink} sets up a DDE link to another application.
  1192.  
  1193. PasteSpecial
  1194.  
  1195. Syntax
  1196.  
  1197.  PasteSpecial([Properties As String], [FormulaCells As String], [LabelCells As String], [NumberCells As String], [FormulaValues As String], [Transpose As String], [NoBlanks As String])
  1198.  
  1199. PerfectScript Syntax
  1200.  
  1201. PasteSpecial ([Properties:String]; [FormulaCells:String]; [LabelCells:String]; [NumberCells:String]; [FormulaValues:String]; [Transpose:String]; [NoBlanks:String])
  1202.  
  1203. Description
  1204.  
  1205. {PasteSpecial} pastes certain aspects of Quattro Pro data from the Clipboard.
  1206.  
  1207. You can use {PasteSpecial?} or {PasteSpecial!} to display the Paste Special dialog box. {PasteSpecial?} lets you manipulate the dialog box, whereas {PasteSpecial!} relies on the macro to manipulate it.
  1208.  
  1209. Example
  1210.  
  1211. The following macro pastes properties, formula cells, and numbers from the Clipboard, and skips any blank cells.
  1212.  
  1213. {PasteSpecial Properties, Formula Cells,"",Number cells,"","",NoBlanks,""}
  1214.  
  1215. Parameters
  1216.  
  1217. Properties    Properties to paste from Clipboard; "" otherwise
  1218.  
  1219. Formula Cells    Formula cells to paste from Clipboard, "" otherwise
  1220.  
  1221. Number Cells    Number cells to paste from Clipboard, "" otherwise
  1222.  
  1223. Formula Values    Pastes formula cells as values, "" otherwise
  1224.  
  1225. Transpose    Switches the position of entries (data listed in columns is placed in rows and vice versa), "" otherwise
  1226.  
  1227. NoBlanks    Avoids pasting blank cells from Clipboard; "" otherwise
  1228.  
  1229. Cell_Comments    Pastes cell comments; "" otherwise
  1230.  
  1231. {POKE}
  1232.  
  1233. Syntax
  1234.  
  1235. Poke(DDEChannel As Integer, Destination As String, DataToSend As String)
  1236.  
  1237. PerfectScript Syntax
  1238.  
  1239. Poke (DDEChannel:Numeric; Destination:String; DataToSend:String)
  1240.  
  1241. Description
  1242.  
  1243. {POKE} sends information to an application that supports Dynamic Data Exchange (DDE). This application is identified by DDEChannel. The type of application determines what Destination is; the destination could be cells in Excel or a bookmark in Word for Windows. DataToSend refers to cells containing the information to send.
  1244.  
  1245. Example
  1246.  
  1247. This example starts a conversation with TASKLIST.OVD, which is a file open in ObjectVision. It sets the ObjectVision field Task to the label stored in new_task, and unchecks the Completed check box. Then the new task is inserted into the task list. The command block contains an ObjectVision command not available in Quattro Pro:
  1248.  
  1249. dde_channel    10
  1250.  
  1251. command    [@INSERT("tasks")]
  1252.  
  1253. exec_result    0
  1254.  
  1255. new_task    Call Jim re: task priorities
  1256.  
  1257. task_status    No
  1258.  
  1259. Parameters
  1260.  
  1261. DDEChannel    Channel ID number of the application to send information to
  1262.  
  1263. Destination    Location in the application that receives the information being sent
  1264.  
  1265. DataToSend    Cells containing the information to send to the application
  1266.  
  1267. {Preview}
  1268.  
  1269. Syntax
  1270.  
  1271. Preview()
  1272.  
  1273. Description
  1274.  
  1275. {Preview} lets you preview a printout on screen.
  1276.  
  1277. {Print}
  1278.  
  1279. Syntax
  1280.  
  1281. {Print.Option}
  1282.  
  1283. Description
  1284.  
  1285. {Print} is equivalent to the menu items in the following list. To display specific command equivalents, choose one of the following:
  1286.  
  1287. Command options for...
  1288.  
  1289. Page Setup
  1290.  
  1291. Named Settings
  1292.  
  1293. Print
  1294.  
  1295. Page Setup Options
  1296.  
  1297. The command equivalent {Print.PrintReset} resets print settings in all the dialog boxes displayed by these commands.
  1298.  
  1299. You can use {Print?} or {Print!} to display the Spreadsheet Print dialog box. {Print?} lets you manipulate the dialog box, whereas {Print!} relies on the macro to manipulate it.
  1300.  
  1301. Named Settings Command Options
  1302.  
  1303. PerfectScript Syntax
  1304.  
  1305. Print_Create (NamedSetting:String)
  1306.  
  1307. Print_Delete (NamedSetting:String)
  1308.  
  1309. Print_Use (NamedSetting:String)
  1310.  
  1311. Description
  1312.  
  1313. These command options affect named settings for printing. To update an existing named setting, use {Print.Create}. {Print.Delete} removes a named setting from the active notebook. {Print.Use} sets the current print settings to those stored under the name.
  1314.  
  1315. {Print.Create NamedSetting}    Creates a named print setting using the name in the New Set text box
  1316.  
  1317. Replaces the settings stored under the selected name with the current print settings
  1318.  
  1319. {Print.Delete NamedSetting}    Deletes the selected named setting
  1320.  
  1321. {Print.Use NamedSetting}    Uses the selected named print setting
  1322.  
  1323. Page Setup Command Options
  1324.  
  1325. PerfectScript Syntax
  1326.  
  1327. Print_Options ()
  1328.  
  1329. Print_Bottom_Margin (Margin:String)
  1330.  
  1331. Print_Create_Footer (CreateFooter:Enumeration {Yes!; No!})
  1332.  
  1333. Print_Create_Header (CreateHeader:Enumeration {Yes!; No!})
  1334.  
  1335. Print_Footer (String:String)
  1336.  
  1337. Print_Footer_Margin (Margin:String)
  1338.  
  1339. Print_Footers_Font (Settings:String)
  1340.  
  1341. Print_Header (String:String)
  1342.  
  1343. Print_Header_Margin (Margin:String)
  1344.  
  1345. Print_Headers_Font (Settings:String)
  1346.  
  1347. Print_Left_Margin (Margin:String)
  1348.  
  1349. Print_Pages_Down (PagesDown:Numeric)
  1350.  
  1351. Print_Pages_Across (PagesAcross:Numeric)
  1352.  
  1353. Print_Orientation (Setting:String)
  1354.  
  1355. Print_Page_Breaks (Yes?:Enumeration {Yes!; No!})
  1356.  
  1357. Print_PageSetupReset ()
  1358.  
  1359. Print_Paper_Type (PaperSize:String)
  1360.  
  1361. Print_Print_To_Fit (Yes?:Enumeration {Yes!; No!})
  1362.  
  1363. Print_Right_Margin (Margin:String)
  1364.  
  1365. Print_Scaling (PercentageValue:Numeric)
  1366.  
  1367. Print_Top_Margin (Margin:String)
  1368.  
  1369. Description
  1370.  
  1371. These command options affect the page setup. When specifying a margin, the default measurement system is used (set in the Windows Control Panel). To use a specific measurement system, place in (for inches) or cm (for centimeters) after the new margin setting (see the example). The new setting is converted into the default measurement system.
  1372.  
  1373. {Print.Options_Dialog}    Displays the Page Setup dialog.
  1374.  
  1375. {Print.Bottom_Margin Value}    Sets the amount of space between the edge of the page and the bottom of the document
  1376.  
  1377. {Print.CreateFooter Yes|No}    Determines whether your print selection contains a footer.
  1378.  
  1379. {Print.CreateHeader Yes|No}    Determines whether your print block contains a header.
  1380.  
  1381. {Print.Footer FooterString}    Creates and specifies text for a footer
  1382.  
  1383. {Print.Footer_Margin Value}    Sets the amount of space between the last row of data and the footer
  1384.  
  1385. {Print.Footers_Font "Typeface, PointSize, Bold(Yes|No), Italic(Yes|No), Underline(Yes|No), Strikeout(Yes|No)"}    Specifies the typeface, point size, and type style for footer text
  1386.  
  1387. {Print.Header HeaderString}    Creates and specifies text for a header
  1388.  
  1389. {Print.Header_Margin Value}    Sets the amount of space between the header and the first row of data
  1390.  
  1391. {Print.Headers_Font "Typeface, PointSize, Bold (Yes|No), Italic (Yes|No), Underline (Yes|No), Strikeout (Yes|No)"}    Specifies the typeface, point size, and type style for header text
  1392.  
  1393. {Print.Left_Margin Value}    Specifies the amount of space between the edge of the page and the left of the document
  1394.  
  1395. {Print.PagesDown N}    Determines how many pages long a print selection will occupy.
  1396.  
  1397. {Print.PagesAcross N}    Determines how many pages wide a print selection will occupy.
  1398.  
  1399. {Print.Orientation Landscape|Portrait}    Specifies portrait or landscape printing orientation
  1400.  
  1401. {Print.Page_Breaks Yes|No}    Starts a new printed page at each soft page break
  1402.  
  1403. {Print.PageSetupReset}    Resets the dialog box to its default settings, replacing all selections in the dialog box
  1404.  
  1405. {Print.Paper_Type PaperSize}    Controls the paper type and printing orientation
  1406.  
  1407. {Print.Print_To_Fit Yes|No}    Specifies the maximum width and height in pages to use when printing the print selection
  1408.  
  1409. {Print.Right_Margin Value}    Specifies the amount of space between the edge of the page and the right of the document
  1410.  
  1411. {Print.Scaling 1-1000}    Specifies the percentage to increase or decrease the size of notebook data on the printed page
  1412.  
  1413. {Print.Top_Margin Value}    Specifies the amount of space between the edge of the page and the top of the document
  1414.  
  1415. Example
  1416.  
  1417. This macro sets the top and bottom margins to three centimeters, specifies landscape orientation, and sets the paper size to Legal.
  1418.  
  1419. {Print.Top_Margin "3 cm"}
  1420.  
  1421. {Print.Bottom_Margin "3 cm"}
  1422.  
  1423. {Print.Orientation Landscape}
  1424.  
  1425. {Print.Paper_Type "Legal 8 1/2 x 14 inch"}
  1426.  
  1427. Print Command Options
  1428.  
  1429. PerfectScript Syntax
  1430.  
  1431. Print_All_Pages (Yes?:Enumeration {Yes!; No!})
  1432.  
  1433. Print_Area (Area:String)
  1434.  
  1435. Print_Block (Block:String)
  1436.  
  1437. Print_Copies (Number:Numeric)
  1438.  
  1439. Print_DoPrint ()
  1440.  
  1441. Print_DoPrintGraph ()
  1442.  
  1443. Print_End_Page_Number (PageNumber:Numeric)
  1444.  
  1445. Print_Group_Copies (Group:String)
  1446.  
  1447. Print_Start_Page_Number (PageNumber:Numeric)
  1448.  
  1449. PrinterSetup (Printer:String; Port:String; PrintToFile?:Enumeration {Yes!; No!}; Filename:String; ReplaceOption:Enumeration {Cancel!; Overwrite!; Backup!; Append!})
  1450.  
  1451. Description
  1452.  
  1453. These command options affect printing. {Print.DoPrint} prints the active notebook (or active chart) using current print settings. {Print.DoPrintGraph} provides a quick way to print a chart. If a floating chart is selected, {Print.DoPrintGraph} prints the chart being shown; if a chart icon is selected, {Print.DoPrintGraph} prints the chart represented by that icon; if a chart window is active, {Print.DoPrintGraph} prints the chart shown.
  1454.  
  1455. {Print.All_Pages Yes|No}    Prints all notebook pages
  1456.  
  1457. {Print.Area Notebook | Selection | Current Sheet}    Specifies how much of a notebook to print
  1458.  
  1459. {Print.Block Block}    Prints the cells you specify
  1460.  
  1461. {Print.Copies Value}    Specifies the number of copies to print
  1462.  
  1463. {Print.DoPrint}    Sends the document to the printer
  1464.  
  1465. {Print.DoPrintGraph}    Prints the selected chart
  1466.  
  1467. {Print.GroupCopies 0|1}    Prints multiple copies sorted by sets of copies. Will "collate" copies when set to zero, and "group" copies when set to 1.
  1468.  
  1469. {Print.Start_Page_Number Value}    Specifies the beginning and ending pages in the document to print
  1470.  
  1471. {Print.PrinterSetup Printer; Port; PrintToFile (0|1); Filename; CancelOverwrite (0) | Replace (1) | Backup (2) | Append (3)}    Lets you specify details of the printing process
  1472.  
  1473. Example
  1474.  
  1475. This macro selects an icon on the Objects sheet named Report3 and prints the chart it represents.
  1476.  
  1477. {OBJECTSPAGEGOTO}
  1478.  
  1479. {SELECTOBJECT Report3}
  1480.  
  1481. {Print.DoPrintGraph}
  1482.  
  1483.  
  1484.  
  1485. This macro prints pages 7 through 12 of a document. The print selection is A3..C234.
  1486.  
  1487. {Print.Block A3..C234}
  1488.  
  1489. {Print.All_Pages No}
  1490.  
  1491. {Print.Start_Page_Number 7}
  1492.  
  1493. {Print.End_Page_Number 12}
  1494.  
  1495. {Print.DoPrint}
  1496.  
  1497. Page Formatting Command Options
  1498.  
  1499. PerfectScript Syntax
  1500.  
  1501. Print_Between_Block_Formatting (Space:String)
  1502.  
  1503. Print_Between_Page_Formatting (Space:String)
  1504.  
  1505. Print_Cell_Formulas (Yes?:Enumeration {Yes!; No!})
  1506.  
  1507. Print_Center_Block (Yes?:Enumeration {Yes!; No!})
  1508.  
  1509. Print_Left_Heading (Block:String)
  1510.  
  1511. Print_Lines_Between_Blocks (Lines:Numeric)
  1512.  
  1513. Print_Lines_Between_Pages (Lines:Numeric)
  1514.  
  1515. Print_Print_Borders (Yes?:Enumeration {Yes!; No!})
  1516.  
  1517. Print_Print_Gridlines (Yes?:Enumeration {Yes!; No!})
  1518.  
  1519. Print_PrinterSetup (Printer:String; Port:String; PrintToFile?:String; Filename:String; OverWrite?:String)
  1520.  
  1521. Print_PrintOptionsReset ()
  1522.  
  1523. Print_PrintReset ()
  1524.  
  1525. Print_Top_Heading (Block:String)
  1526.  
  1527. Description
  1528.  
  1529. These command options affect spreadsheet printing. {Print.Between_Page_Formatting} and {Print.Lines_Between_Pages} control the amount of space left between notebook sheets (if the print selection spans multiple sheets).
  1530.  
  1531. {Print.Between_Block_Formatting} and {Print.Lines_Between_Blocks} control space between the selections that make up a noncontiguous print selection.
  1532.  
  1533. {Print.Between_Block_Formatting "Lines"|"Page Advance"}    Separates groups of cells with blank lines or page breaks
  1534.  
  1535. {Print.Between_Page_Formatting "Lines"|"Page Advance"}    Separates sheets of 3-D cells with blank lines or page breaks
  1536.  
  1537. {Print.Cell_Formulas Yes|No}    Prints each cell's address and contents instead of its calculated results
  1538.  
  1539. {Print.Center_Block Yes|No}    Centers the cells of the print selection between the left and right margins of the printed page
  1540.  
  1541. {Print.Left_Heading Block}    Adds the cell entries you specify as headings to print at the left of each printed page
  1542.  
  1543. {Print.Lines_Between_Blocks Value}    Specifies how many blank lines to print between each group of cells
  1544.  
  1545. {Print.Lines_Between_Pages Value}    Specifies how many blank lines to print between each sheet of 3-D pages
  1546.  
  1547. {Print.Print_Borders Yes|No}    Includes row and column borders in the printed document
  1548.  
  1549. {Print.Print_Gridlines Yes|No}    Includes the spreadsheet grid in the printed document
  1550.  
  1551. {Print.PrintOptionsReset}    Resets the dialog box to its default settings, replacing all selections in the dialog box
  1552.  
  1553. {Print.Top_Heading Block}    Adds the cell entries you specify as headings to print at the top of each printed page
  1554.  
  1555. {Print.PrintReset}    Resets all print settings
  1556.  
  1557. Example
  1558.  
  1559. This macro specifies that three lines should be printed between each notebook sheet (if the print selection spans multiple sheets), and that row and column borders should print.
  1560.  
  1561. {Print.Between_Page_Formatting "Lines"}
  1562.  
  1563. {Print.Lines_Between_Pages 3}
  1564.  
  1565. {Print.Print_Borders Yes}
  1566.  
  1567. {PTTESTM}
  1568.  
  1569. Syntax
  1570.  
  1571.  PTTESTM(InBlock1 As String, InBlock2 As String, OutBlock As String, [Labels_ As _PTTESTM_Labels__enum], [Alpha As Double], [Difference As Double])
  1572.  
  1573. PerfectScript Syntax
  1574.  
  1575. PTTESTM (InBlock1:String; InBlock2:String; OutBlock:String; [Labels?:Enumeration {Yes!; No!}]; [Alpha:Numeric]; [Difference:Numeric])
  1576.  
  1577. Description
  1578.  
  1579. {PTTESTM} performs a paired two-sample Student's t-Test for means. Each value from InBlock1 is paired with a value from InBlock2. InBlock1 and InBlock2 must have the same number of values.
  1580.  
  1581. {PTTESTM} is equivalent to the t-Test analysis tool.
  1582.  
  1583. Parameters
  1584.  
  1585. InBlock1    The first input cells containing a column or row of numeric values
  1586.  
  1587. InBlock2    The second input cells containing a column or row of numeric values
  1588.  
  1589. OutBlock    Upper-left cell of the output cells
  1590.  
  1591. Labels    1 if labels are located in the first column or row of the input cells; 0 if the input cells do not contain labels; the default is 0
  1592.  
  1593. Alpha    Significance level of the test; the default is 0.05
  1594.  
  1595. Difference    Hypothetical mean difference; the default is 0
  1596.  
  1597. {PTTESTV}
  1598.  
  1599. Syntax
  1600.  
  1601. PTTESTV(InBlock1 As String, InBlock2 As String, OutBlock As String, [Labels_ As _PTTESTV_Labels__enum], [Alpha As Double])
  1602.  
  1603. PerfectScript Syntax
  1604.  
  1605. PTTESTV (InBlock1:String; InBlock2:String; OutBlock:String; [Labels?:Enumeration {Yes!; No!}]; [Alpha:Numeric])
  1606.  
  1607. Description
  1608.  
  1609. {PTTESTV} performs a Student's t-Test using two indepependent (rather than paired) samples with unequal variances. {PTTESTV} is equivalent to the t-Test analysis tool.
  1610.  
  1611. Parameters
  1612.  
  1613. InBlock1    The first input cells containing a column or row of numeric values
  1614.  
  1615. InBlock2    The second input cells containing a column or row of numeric values
  1616.  
  1617. OutBlock    Upper-left cell of the output cells
  1618.  
  1619. Labels    1 if labels are located in the first column or row of the input cells; 0 if the input cells do not contain labels; the default is 0
  1620.  
  1621. Alpha    Significance level of the test; the default is 0.05
  1622.  
  1623. {PUT}
  1624.  
  1625. Syntax
  1626.  
  1627. Put(Block As String, Column As Integer, Row As Integer, Value)
  1628.  
  1629. PerfectScript Syntax
  1630.  
  1631. Put (Block:String; Column:Numeric; Row:Numeric; Value:Any)
  1632.  
  1633. Description
  1634.  
  1635. {PUT}, like {LET}, copies a value to a particular cell. However, instead of placing the value directly in the specified cell, {PUT} copies Value into the cell that is offset Column# columns and Row# rows into Location.
  1636.  
  1637. {PUT} processes Value the same way {LET} does, including the use of :string (or :s) and :value (or :v). If neither of these two optional arguments is supplied, {PUT} tries to store the value as a numeric value; if unsuccessful, it stores the value as a label.
  1638.  
  1639. The values for Column# and Row# can be any number between 0 and one less than the number of columns or rows within Location, respectively. A value of 0 implies the first column or row, 1 implies the second, and so on. If Column# or Row# exceeds the number of columns or rows in the cells, the macro stops.
  1640.  
  1641. Example
  1642.  
  1643. Each of the following examples assumes cell A41 contains the value 25, the selection named numbers has been defined as A44..B50, and data is a cell containing the value 295.
  1644.  
  1645. {PUT numbers,1,4,A41:value} copies the value 25 into the cell at the intersection of the second column and the fifth row of the cell numbers (cell B48).
  1646.  
  1647. {PUT numbers,1,5,A41:s} copies the string "A41" into the cell at the 2nd column and the 6th row of the cell numbers (cell B49).
  1648.  
  1649. {PUT numbers,1,6,data} copies the contents of the cell data to the 2nd column and 7th row of numbers (cell B50). If there is no selection named data, this example instead places a label ("data") into cell B50.
  1650.  
  1651. Parameters
  1652.  
  1653. Location    Cells within which Value will be stored, either as a value or label, as specified by Type
  1654.  
  1655. Column#    Number of columns into the specified cells to store Value
  1656.  
  1657. Row#    Number of rows into the specified cells to store Value
  1658.  
  1659. Value    String or numeric value
  1660.  
  1661. Type    String or value; string (or s) stores the value or formula as a label, and value (or v) stores the actual value or value resulting from a formula (optional)
  1662.  
  1663. {PUTBLOCK}
  1664.  
  1665. Syntax
  1666.  
  1667.  PutBlock(Data, [Block As String], [Date_ As _PutBlock_Date__enum])
  1668.  
  1669. PerfectScript Syntax
  1670.  
  1671. PutBlock (Data:Any; [Block:String]; [Date?:Enumeration {Yes!; No!}])
  1672.  
  1673. Description
  1674.  
  1675. {PUTBLOCK} lets you quickly enter the same value, label, or formula in multiple cells. Data is a string or value to place in Block. If Block is not specified, the currently selected cells are used. Block can be noncontiguous; if so, be sure to enclose it in parentheses. If Data is a formula containing relative addresses, those addresses are adjusted automatically.
  1676.  
  1677. Example
  1678.  
  1679. {PUTBLOCK "Quarter 1",A..D:A1} enters the label Quarter 1 in cells A:A1 through D:A1.
  1680.  
  1681. {PUTBLOCK 1990,A..D:B1} enters the value 1990 in cells A:B1 through D:B1.
  1682.  
  1683. {PUTBLOCK "+A1",C3..C12) enters the formula +A1 in C3, +A2 in C4, and so on.
  1684.  
  1685. {PUTBLOCK "11/01/94", (A:D3,B:D3,C:D3,D:D3),1} enters the date 11/01/94 in cell D3 of sheets A through D.
  1686.  
  1687. Parameters
  1688.  
  1689. Data    Entry to type
  1690.  
  1691. Block    Cells to type Data in (optional)
  1692.  
  1693. Date?    Whether to enter Data as a date (1) or a label (0)
  1694.  
  1695. {PUTBLOCK2}
  1696.  
  1697. Syntax
  1698.  
  1699.  PutBlock2(Data, [Block As String])
  1700.  
  1701. PerfectScript Syntax
  1702.  
  1703. PutBlock2 (Data:Any; [Block:String])
  1704.  
  1705. Description
  1706.  
  1707. {PUTBLOCK2} enters the same value, label, or formula in multiple cells like {PUTBLOCK} but parses date formats automatically and requires a formula prefix before numeric values. Data is a string or value to place in Block. If Block is not specified, the currently selected cells are used. Block can be noncontiguous; if so, be sure to enclose it in parentheses. If Data is a formula containing relative addresses, those addresses are adjusted automatically.
  1708.  
  1709. Example
  1710.  
  1711. {PUTBLOCK2 "Quarter 1",A..D:A1} enters the label Quarter 1 in cells A:A1 through D:A1.
  1712.  
  1713. {PUTBLOCK2 +1990,A..D:B1} enters the value 1990 in cells A:B1 through D:B1.
  1714.  
  1715. {PUTBLOCK2 "+A1",C3..C12) enters the formula +A1 in C3, +A2 in C4, and so on.
  1716.  
  1717. {PUTBLOCK2 "11/01/94", (A:D3,B:D3,C:D3,D:D3)} enters the date 11/01/94 in cell D3 of sheets A through D.
  1718.  
  1719. Parameters
  1720.  
  1721. Data    Entry to type
  1722.  
  1723. Block    Cells to type Data in (optional)
  1724.  
  1725. {PUTCELL}
  1726.  
  1727. Syntax
  1728.  
  1729. PutCell(Data, [Date_ As _PutCell_Date__enum])
  1730.  
  1731. PerfectScript Syntax
  1732.  
  1733. PutCell (Data:Any; [Date?:Enumeration {Yes!; No!}])
  1734.  
  1735. Description
  1736.  
  1737. {PUTCELL} is an easy way to store information in the active cell.
  1738.  
  1739. Example
  1740.  
  1741. {PUTCELL "Peggy Danderhoff"} stores Peggy Danderhoff as a label in the active cell.
  1742.  
  1743. {PUTCELL 45067} stores the number 45067 as a value in the active cell.
  1744.  
  1745. {PUTCELL "@SUM(A1..A27)"} stores the formula @SUM(A1..A27) in the active cell.
  1746.  
  1747. {PUTCELL "11/01/94",1} stores the date 11/01/94 in the active cell
  1748.  
  1749. Parameters
  1750.  
  1751. Data    String to type into the active cell
  1752.  
  1753.  Date?    Whether to enter Data as a date (1) or a label (0)
  1754.  
  1755. {PUTCELL2}
  1756.  
  1757. Syntax
  1758.  
  1759.  PutCell2(Data)
  1760.  
  1761. PerfectScript Syntax
  1762.  
  1763. PutCell2 (Data:Any)
  1764.  
  1765. Description
  1766.  
  1767. {PUTCELL2} stores information in the active cell like {PUTCELL} but parses date formats automatically and requires a formula prefix before numeric values.
  1768.  
  1769. Example
  1770.  
  1771. {PUTCELL2 "Peggy Danderhoff"} stores Peggy Danderhoff as a label in the active cell.
  1772.  
  1773. {PUTCELL2 +45067} stores the number 45067 as a value in the active cell.
  1774.  
  1775. {PUTCELL2 "@SUM(A1..A27)"} stores the formula @SUM(A1..A27) in the active cell.
  1776.  
  1777. {PUTCELL2 "11/01/94"} stores the date 11/01/94 in the active cell
  1778.  
  1779. Parameters
  1780.  
  1781. Data    String to type into the active cell
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.