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

  1. {SAMPLE}
  2.  
  3. Syntax
  4.  
  5. SAMPLE(InBlock As String, OutBlock As String, type As String, Rate As Double)
  6.  
  7. PerfectScript Syntax
  8.  
  9. SAMPLE (InBlock:String; OutBlock:String; Type:String; Rate:Numeric)
  10.  
  11. Description
  12.  
  13. {SAMPLE} returns a periodic or random sample from values in InBlock. {SAMPLE} is equivalent to the Sampling analysis tool.
  14.  
  15. Parameters
  16.  
  17. InBlock    One or more numeric or cell values representing the input cells
  18.  
  19. OutBlock    Upper-left cell of the output cells
  20.  
  21. Type    "P" to specify periodic sample; "R" to specify random sampling
  22.  
  23. Rate    A value indicating a sampling rate; if Type = "P", Rate indicates the periodic interval used for sampling; if Type = "R", Rate indicates the number of samples
  24.  
  25. {SaveHtml_BackgroundColor}
  26.  
  27. Syntax
  28.  
  29. SaveHtml_BackgroundColor(BkColor_ As String)
  30.  
  31. PerfectScript Syntax
  32.  
  33. SaveHtml_BackgroundColor (BkColor?: String)
  34.  
  35. Description
  36.  
  37. Lets you specify the default color of the background.
  38.  
  39. Example
  40.  
  41. SaveHtml.BackgroundColor Black
  42.  
  43. SaveHtml.BackgroundColor "#ff00ff"
  44.  
  45. Parameter
  46.  
  47. BkColor    The name of the default background color
  48.  
  49. Note
  50.  
  51.   SaveHtml.BackgroundColor will be effective only when the SaveHtml.UseBrowserColor command is called with 0
  52.   
  53. {SaveHtml_FileOptions}
  54.  
  55. Syntax
  56.  
  57.  SaveHtml_FileOptions(FileData_ As String)
  58.  
  59. PerfectScript Syntax
  60.  
  61.  SaveHtml_FileOptions (FileData?: String)
  62.  
  63. Description
  64.  
  65.  Lets you specify the initial .HTML file name and the default extension to be used. FileData consists of two variables delimited by a semicolon.
  66.  
  67. Example
  68.  
  69.  SaveHtml.FileOptions "Index.HTM; HTM"
  70.  
  71. Parameters
  72.  
  73.  FileData [semicolon delimited]    Initial name
  74.  
  75.  The initial .HTML file name
  76.  
  77.  
  78.  
  79.  Extension
  80.  
  81.  The default extension of .HTML files
  82.  
  83. {SaveHtml.GraphicType}
  84.  
  85. Syntax
  86.  
  87.  SaveHtml_GraphicType(Value_ As Integer)
  88.  
  89. PerfectScript Syntax
  90.  
  91.  SaveHtml_GraphicType (Value?: Numeric)
  92.  
  93. Description
  94.  
  95.  Lets you specify the file format to use for graphic images.
  96.  
  97. Example
  98.  
  99.  SaveHtml.GraphicType 1
  100.  
  101.  Result: Use the .JPG file format.
  102.  
  103. Parameter
  104.  
  105.  Value    0 The .GIF file format
  106.  
  107.  1 The .JPG file format
  108.  
  109.  2 The .PNG file format
  110.  
  111. {SaveHtml_Header}
  112.  
  113. Syntax
  114.  
  115.  SaveHtml_Header(Header_ As String)
  116.  
  117. PerfectScript Syntax
  118.  
  119.  SaveHtml_Header (Header?: String)
  120.  
  121. Description
  122.  
  123.  Lets you specify the text for the header section of the .HTML document.
  124.  
  125. Example
  126.  
  127.  SaveHtml.Header "Header text of this file"
  128.  
  129. Parameter
  130.  
  131.  Header    The text
  132.  
  133. {SaveHtml_HeaderDescription}
  134.  
  135. Syntax
  136.  
  137.  SaveHtml_HeaderDescription(HdrDesc_ As String)
  138.  
  139. PerfectScript Syntax
  140.  
  141.  SaveHtml_HeaderDescription (HdrDesc?: String)
  142.  
  143. Description
  144.  
  145.  Lets you specify the header description.
  146.  
  147. Example
  148.  
  149.  SaveHtml.HeaderDescription "Header description for this file"
  150.  
  151. Parameter
  152.  
  153.  HdrDesc    The header description
  154.  
  155. {SaveHtml_Layout}
  156.  
  157. Syntax
  158.  
  159.  SaveHtml_Layout(Value_ As Integer)
  160.  
  161. PerfectScript Syntax
  162.  
  163.  SaveHtml_Layout (Value?: Numeric)
  164.  
  165. Description
  166.  
  167.  Lets you specify the layout to be used.
  168.  
  169. Example
  170.  
  171.  SaveHtml.Layout 2
  172.  
  173. Parameter
  174.  
  175.  Value    0 Single page
  176.  
  177.  1 Frame enhanced pages
  178.  
  179.  2 Multiple pages
  180.  
  181. {SaveHtml_LineBeforeFooter}
  182.  
  183. Syntax
  184.  
  185.  SaveHtml_LineBeforeFooter(Enable_ As _SaveHtml_LineBeforeFooter_Enable__enum)
  186.  
  187. PerfectScript Syntax
  188.  
  189.  SaveHtml_LineBeforeFooter (Enable?: Boolean)
  190.  
  191. Description
  192.  
  193.  Lets you specify whether or not to insert a line before the footer.
  194.  
  195. Example
  196.  
  197.  SaveHtml.LineBeforeFooter 1
  198.  
  199. Parameter
  200.  
  201.  Enable    0 No footer line
  202.  
  203.  1 Footer line
  204.  
  205. {SaveHtml.LineBeforeHeader}
  206.  
  207. Syntax
  208.  
  209.  SaveHtml_LineBeforeHeader(Enable_ As _SaveHtml_LineBeforeHeader_Enable__enum)
  210.  
  211. PerfectScript Syntax
  212.  
  213.  SaveHtml_LineBeforeHeader (Enable?: Boolean)
  214.  
  215. Description
  216.  
  217.  Lets you specify whether or not to insert a line before the header.
  218.  
  219. Example
  220.  
  221.  SaveHtml.LineBeforeHeader 0
  222.  
  223. Parameter
  224.  
  225.  Enable    0 No header line
  226.  
  227.  1 Header line
  228.  
  229. {SaveHtml.LinkColor}
  230.  
  231. Syntax
  232.  
  233.  SaveHtml_LinkColor(LinkColor_ As String)
  234.  
  235. PerfectScript Syntax
  236.  
  237.  SaveHtml_LinkColor (LinkColor?: String)
  238.  
  239. Description
  240.  
  241.  Lets you specify the default color of the links
  242.  
  243. Example
  244.  
  245.  SaveHtml.LinkColor Black
  246.  
  247.  SaveHtml.LinkColor "#ff00ff"
  248.  
  249. Parameter
  250.  
  251.  LinkColor    The name of the default link color
  252.  
  253. Note
  254.  
  255.   SaveHtml.LinkColor will be effective only when the SaveHtml.UseBrowserColor command is called with 0
  256.   
  257. {SaveHtml.OutputFile}
  258.  
  259. Syntax
  260.  
  261.   SaveHtml_OutputFile(Filename_ As String)
  262.  
  263. PerfectScript Syntax
  264.  
  265.  SaveHtml_OutputFile (Filename?: String)
  266.  
  267. Description
  268.  
  269.  The name of the .HTML file into which the data is to be published.
  270.  
  271. Example
  272.  
  273.  SaveHtml.OutputFile "C:\Shared\New.HTM"
  274.  
  275. Parameter
  276.  
  277.  Filename    The name of the .HTML file
  278.  
  279. {SaveHtml.OutputType}
  280.  
  281. Syntax
  282.  
  283.  SaveHtml_OutputType(Value_ As Integer)
  284.  
  285. PerfectScript Syntax
  286.  
  287.  SaveHtml_OutputType (Value?: Numeric)
  288.  
  289. Description
  290.  
  291.  Lets you specify the type of the output file.
  292.  
  293. Example
  294.  
  295.  SaveHtml.OutputType 1
  296.  
  297. Parameter
  298.  
  299.  Value    0 Output as .HTML
  300.  
  301.  1 Output as .XML
  302.  
  303.  2 Insert into an existing .HTML file
  304.  
  305. {SaveHtml.SaveHtml}
  306.  
  307. Syntax
  308.  
  309.  SaveHtml_SaveHtml()
  310.  
  311. PerfectScript Syntax
  312.  
  313.  SaveHtml_SaveHtml
  314.  
  315. Description
  316.  
  317.  Saves the data from the specified range into a .HTML file. Takes default values if no values have been specified.
  318.  
  319. {SaveHtml.Source}
  320.  
  321. Syntax
  322.  
  323.  SaveHtml_Source(SourceData_ As String)
  324.  
  325. PerfectScript Syntax
  326.  
  327.  SaveHtml_OutputFile (SourceData?: String)
  328.  
  329. Description
  330.  
  331.  Lets you specify the name of the .HTML file into which the data is to be published. SourceData consists of two variables delimited by a semicolon.
  332.  
  333. Example
  334.  
  335.  SaveHtml.Source "Range:A:A11..D11; 0"
  336.  
  337. Parameters
  338.  
  339.  SourceData [semicolon delimited]    Range
  340.  
  341.  The range specified as "Range:" followed by page name, followed by actual range.
  342.  
  343.  
  344.  
  345.  Boolean
  346.  
  347.  0 Output as table
  348.  
  349.  1 Output as text
  350.  
  351. {SaveHtml.TextColor}
  352.  
  353. Syntax
  354.  
  355.  SaveHtml_TextColor(TextColor_ As String)
  356.  
  357. PerfectScript Syntax
  358.  
  359.  SaveHtml_TextColor (TextColor?: String)
  360.  
  361. Description
  362.  
  363.  Lets you specify the default color of the text.
  364.  
  365. Example
  366.  
  367.  SaveHtml.TextColor Black
  368.  
  369.  SaveHtml.TextColor "#ff00ff"
  370.  
  371. Parameter
  372.  
  373.  TextColor    The name of the default text color
  374.  
  375. Note
  376.  
  377.   SaveHtml.TextColor will be effective only when the SaveHtml.UseBrowserColor command is called with 0
  378.   
  379. {SaveHtml.Title}
  380.  
  381. Syntax
  382.  
  383.  SaveHtml_Title(Title_ As String)
  384.  
  385. PerfectScript Syntax
  386.  
  387.  SaveHtml_Title (Title?: String)
  388.  
  389. Description
  390.  
  391.  Lets you specify the title for the file.
  392.  
  393. Example
  394.  
  395.  SaveHtml.Title "Title info of this file"
  396.  
  397. Parameter
  398.  
  399.  Title    The title for the file
  400.  
  401. {SaveHtml.UseBrowserColor}
  402.  
  403. Syntax
  404.  
  405.   SaveHtml_UseBrowserColor(Enable_ As _SaveHtml_UseBrowserColor_Enable__enum)
  406.  
  407. PerfectScript Syntax
  408.  
  409.  SaveHtml_UseBrowserColor (Enable?: Boolean)
  410.  
  411. Description
  412.  
  413.  Lets you specify whether browser colors or the colors you specify are to be used.
  414.  
  415. Example
  416.  
  417.  SaveHtml.UseBrowserColor 0
  418.  
  419. Parameter
  420.  
  421.  Enable    0 Lets you specify the colors.
  422.  
  423.  1 Use the browser's colors.
  424.  
  425. {SaveHtml.UserDetails}
  426.  
  427. Syntax
  428.  
  429.  SaveHtml_UserDetails(UserData_ As String)
  430.  
  431. PerfectScript Syntax
  432.  
  433.  SaveHtml_UserDetails (UserData?: String)
  434.  
  435. Description
  436.  
  437.  Lets you specify the user details for the .HTML file. UserData consists of three variables delimited by semicolons.
  438.  
  439. Example
  440.  
  441.  SaveHtml.UserDetails "Sep 23, 1998; Alpha; Alpha@Gamma.com"
  442.  
  443. Parameters
  444.  
  445.  UserData [semicolon delimited]    Last updated
  446.  
  447.  Lets you specify the date of the last update.
  448.  
  449.  
  450.  
  451.  Updated by
  452.  
  453.  Lets you specify who last updated the .HTML file.
  454.  
  455.  
  456.  
  457.  Email
  458.  
  459.  Lets you specify an email address.
  460.  
  461. {SaveHtml.UseRGBValues}
  462.  
  463. Syntax
  464.  
  465.  SaveHtml_UseRGBValues(Enable_ As _SaveHtml_UseRGBValues_Enable__enum)
  466.  
  467. PerfectScript Syntax
  468.  
  469.  SaveHtml_UseRGBValues (Enable?: Boolean)
  470.  
  471. Description
  472.  
  473.  Lets you specify whether RGB values are to be used instead of the color name strings.
  474.  
  475. Example
  476.  
  477.  SaveHtml.UseRGBValues 0
  478.  
  479. Parameter
  480.  
  481.  Enable    0 Use the color name strings.
  482.  
  483.  1 Use RGB values.
  484.  
  485. {SaveHtml.Wallpaper}
  486.  
  487. Syntax
  488.  
  489.  SaveHtml_WallPaper(Filename_ As String)
  490.  
  491. PerfectScript Syntax
  492.  
  493.  SaveHtml_Wallpaper (Filename?: String)
  494.  
  495. Description
  496.  
  497.  Lets you specify which wallpaper is to be used as the background of the .HTML file.
  498.  
  499. Example
  500.  
  501.  SaveHtml.WallPaper "Stars.JPG"
  502.  
  503. Parameter
  504.  
  505.  Filename    The name of the wallpaper file
  506.  
  507. {Scenario}
  508.  
  509. Syntax
  510.  
  511.  {Scenario.Option}
  512.  
  513. PerfectScript Syntax
  514.  
  515.  Scenario_AddCells ([Block:String])
  516.  
  517.  Scenario_Capture (ScenarioName:String)
  518.  
  519.  Scenario_CaptureArea (Area:Enumeration {Notebook!; Page!; Block!; UserDefined!}; [Block:String])
  520.  
  521.  Scenario_Close ()
  522.  
  523.  Scenario_DeleteGroup (GroupName:String)
  524.  
  525.  Scenario_Find ()
  526.  
  527.  Scenario_Highlight (Highlight?:Enumeration {Yes!; No!}; ChangeCellColor:Numeric; ResultCellColor:Numeric)
  528.  
  529.  Scenario_NewGroup (GroupName:String)
  530.  
  531.  Scenario_Open ()
  532.  
  533.  Scenario_Remove (ScenarioName:String)
  534.  
  535.  Scenario_RemoveCells ([Block:String])
  536.  
  537.  Scenario_RenameGroup (OldGroupName:String; NewGroupName:String)
  538.  
  539.  Scenario_Report (AllGroups?:Enumeration {Yes!; No!}; LeftLabels?:Enumeration {Yes!; No!}; TopLabels?:Enumeration {Yes!; No!}; [Block:String])
  540.  
  541.  Scenario_Show (ScenarioName:String)
  542.  
  543.  Scenario_Update_On_Block (Update?:Enumeration {Yes!; No!})
  544.  
  545.  Scenario_UseGroup (GroupName:String)
  546.  
  547. Description
  548.  
  549.  {Scenario} lets you change values in a model, saving the conditions and results for different scenarios. {Scenario.Open} must be used prior to using other {Scenario.Option} commands; use {Scenario.Close} when you are finished using the Scenario Manager. For {Scenario.AddCells} and {Scenario.RemoveCells}, Block defaults to the currently selected cells. For {Scenario.Report}, Block defaults to the first empty sheet in the notebook.
  550.  
  551.  You can use {Scenario?} or {Scenario!} to display the Scenario Manager dialog box. {Scenario?} lets you manipulate the dialog box, whereas {Scenario!} relies on the macro to manipulate it.
  552.  
  553. Example
  554.  
  555.  The following macro captures the base scenario and two additional scenarios for a car loan.
  556.  
  557.  {Scenario.Open}
  558.  
  559.  {Scenario.Capture Base Scenario}
  560.  
  561.  {Scenario.Update}
  562.  
  563.  {SelectBlock A:F4}
  564.  
  565.  {PutCell ".096"}
  566.  
  567.  {SelectBlock A:C5}
  568.  
  569.  {PutCell "60"}
  570.  
  571.  {Scenario.Find}
  572.  
  573.  {Scenario.Highlight 1,7,9}
  574.  
  575.  {Scenario.Capture APR96-60}
  576.  
  577.  {Scenario.Update}
  578.  
  579.  {SelectBlock A:F4}
  580.  
  581.  {PutCell ".085"}
  582.  
  583.  {SelectBlock A:C5}
  584.  
  585.  {PutCell "48"}
  586.  
  587.  {Scenario.Find}
  588.  
  589.  {Scenario.Highlight 1,7,9}
  590.  
  591.  {Scenario.Capture APR85-48}
  592.  
  593.  {Scenario.Update}
  594.  
  595.  {Scenario.Report 0,1,0}
  596.  
  597.  {FileSaveAs "C:\COREL\SUITE8\DATA\CARS.WB3"}
  598.  
  599.  {Scenario.Close}
  600.  
  601. Options
  602.  
  603.  {Scenario.AddCells <Block>}    Defines the selected cells as change-and-result cells.
  604.  
  605.  {Scenario.Capture ScenarioName}    Takes a baseline snapshot of data
  606.  
  607.  {Scenario.CaptureArea Area,Block}    Specifies the area where the Scenario Manager tracks data and format changes.
  608.  
  609.  {Scenario.Close}    Closes a Scenario Manager session.
  610.  
  611.  {Scenario.DeleteGroup GroupName}    Deletes the active group and all scenarios in it.
  612.  
  613.  {Scenario.Find}    Automatically locates changed cells after you capture the baseline scenario and make changes.
  614.  
  615.  {Scenario.Highlight Highlight?(0|1), ChangeCellColor(0-15), ResultCellColor(0-15)}    Turns on and off coloring of change-and-result cells.
  616.  
  617.  {Scenario.NewGroup GroupName}    Creates and names a new Scenario Manager group.
  618.  
  619.  {Scenario.Open}    Initializes a Scenario Manager session.
  620.  
  621.  {Scenario.Remove ScenarioName}    Deletes the selected scenario.
  622.  
  623.  {Scenario.RemoveCells <Block>}    Excludes the selected change-and-result cells from the scenario.
  624.  
  625.  {Scenario.RenameGroup OldGroupName,NewGroupName}    Applies another name to the active group.
  626.  
  627.  {Scenario.Report AllGroups(0|1), LeftLabels(0|1), TopLabels(0|1), <Block>}    Creates a summary report of the change-and-result cells in each scenario.
  628.  
  629.  {Scenario.Show ScenarioName}    Lists scenarios you have captured in the active group of scenarios
  630.  
  631.  {Scenario.Update_On_Block Update?(0|1)}    Offers options for using the Scenario Manager to track versions.
  632.  
  633.  {Scenario.UseGroup GroupName}    Lists the scenario groups included in the active notebook.
  634.  
  635. {ScenarioExpert}
  636.  
  637. Syntax
  638.  
  639.  ScenarioExpert()
  640.  
  641. Description
  642.  
  643.  {ScenarioExpert} displays the first Scenario Expert dialog box. The macro has no arguments.
  644.  
  645. {SCROLLOFF} and {SCROLLON}
  646.  
  647. Description
  648.  
  649.  {SCROLLOFF} and {SCROLLON} are equivalent to Scroll Lock off and Scroll Lock on, respectively.
  650.  
  651. {Search}
  652.  
  653. Syntax
  654.  
  655.  {Search.Option}
  656.  
  657. PerfectScript Syntax
  658.  
  659.  Search_Block (Block:String)
  660.  
  661.  Search_Case (Case:Enumeration {Any!; Exact!})
  662.  
  663.  Search_Direction (Direction:Enumeration {Row!; Column!})
  664.  
  665.  Search_Find (String:String)
  666.  
  667.  Search_Look_In (LookIn:Enumeration {Formula!; Value!; Condition!})
  668.  
  669.  Search_Match (Match:Enumeration {Part!; Whole!})
  670.  
  671.  Search_Next ()
  672.  
  673.  Search_Previous ()
  674.  
  675.  Search_Replace ()
  676.  
  677.  Search_ReplaceAll ()
  678.  
  679.  Search_ReplaceBy (String:String)
  680.  
  681.  Search_Reset ()
  682.  
  683. Description
  684.  
  685.  {Search} searches for strings in the active sheet. Use {Search.ReplaceBy} to specify the replacement string; {Search.Replace} replaces the string.
  686.  
  687.  You can use {Search?} or {Search!} to display the Find And Replace dialog box. {Search?} lets you manipulate the dialog box, whereas {Search!} relies on the macro to manipulate it.
  688.  
  689. Example
  690.  
  691.  The following macro searches the active sheet for 1993 in formulas and replaces it with 1994.
  692.  
  693.  {Search.Reset}
  694.  
  695.  {Search.Block ""}
  696.  
  697.  {Search.Look_In Formula}
  698.  
  699.  {Search.Match Part}
  700.  
  701.  {Search.Find "1993"}
  702.  
  703.  {Search.ReplaceBy "1994"}
  704.  
  705.  {Search.ReplaceAll}
  706.  
  707. Options
  708.  
  709.  {Search.Block Block}    Specifies the cell or multiple cells to search.
  710.  
  711.  {Search.Case Any|Exact}    Considers capitalization during the search.
  712.  
  713.  {Search.Direction Column|Row}    Searches down columns first, starting with column 1.
  714.  
  715.  {Search.Find String}    Specifies the group of characters to be found in labels, values, and formulas.
  716.  
  717.  {Search.Look_In Condition | Formula | Value}    Specifies what is included in the search.
  718.  
  719.  {Search.Match Part|Whole}    Forces the search string to match all of a cell entry.
  720.  
  721.  {Search.Next}    Begins or resumes a forward search without replacing found entries.
  722.  
  723.  {Search.Previous}    Begins or resumes a backward search without replacing found entries.
  724.  
  725.  {Search.Replace}    Lets you decide on an individual basis whether to replace each string found.
  726.  
  727.  {Search.ReplaceAll}    Replaces all found strings without stopping.
  728.  
  729.  {Search.ReplaceBy String}    Specifies the group of characters to substitute for characters found.
  730.  
  731.  {Search.Reset}    Clears any entries in the dialog box and reinstates the defaults.
  732.  
  733. {SelectAll}
  734.  
  735. Syntax
  736.  
  737.   SelectAll()
  738.  
  739. Description
  740.  
  741.  {SelectAll} selects every cell in the active sheet.
  742.  
  743. {SELECTBLOCK}
  744.  
  745. Syntax
  746.  
  747.   SelectBlock(Block As String, [ActiveCell As String])
  748.  
  749. PerfectScript Syntax
  750.  
  751.  SelectBlock (Block:String; [ActiveCell:String])
  752.  
  753. Description
  754.  
  755.  {SELECTBLOCK} lets you select a contiguous or noncontiguous selection within the active notebook. The noncontiguous selections must be enclosed in parentheses.
  756.  
  757. Example
  758.  
  759.  {SELECTBLOCK A4..B23} selects the cells A4..B23 in the active notebook window.
  760.  
  761.  {SELECTBLOCK (A:A1..A:B12,B:B13..B:C34)} selects the noncontiguous selections A:A1..A:B12, B:B13..B:C34.
  762.  
  763. Parameters
  764.  
  765.  Block    Coordinates of the cell(s) to select
  766.  
  767.  ActiveCell    Address of the cell within the cells to make active
  768.  
  769. {SELECTFLOAT}
  770.  
  771. Syntax
  772.  
  773.  SelectFloat(ObjectID As String, [MoreObjectID])
  774.  
  775. PerfectScript Syntax
  776.  
  777.  SelectFloat (ObjectID:String; {[MoreObjectID:String]})
  778.  
  779. Description
  780.  
  781.  With {SELECTFLOAT} you can select floating objects in the active notebook window using their names. (To find the name of an object, view it and study its Object Name property.) Use {SELECTOBJECT} to select objects in a chart or dialog window.
  782.  
  783. Example
  784.  
  785.  {SELECTFLOAT "Button1"} selects the macro button in the active notebook window with the object name Button1.
  786.  
  787. Parameters
  788.  
  789.  ObjectIDx    Name of the notebook object(s) to select
  790.  
  791. {SELECTOBJECT}
  792.  
  793. Syntax
  794.  
  795.   SelectObject([ObjectID As String], [MoreObjectID])
  796.  
  797. PerfectScript Syntax
  798.  
  799.  SelectObject ([ObjectID:String]; {[MoreObjectID:String]})
  800.  
  801. Description
  802.  
  803.  With {SELECTOBJECT} you can select objects in the active window using their ID numbers or names. (To find the ID number of an object, view it and study its Object ID property. Its name is stored in its Name property.) Since {SELECTOBJECT} is context sensitive, you can select controls in a dialog window, drawings in a chart window, or icons in the Objects sheet.
  804.  
  805. Example
  806.  
  807.  {SELECTOBJECT 2,5,7} selects the objects in the active window with the IDs 2, 5, and 7.
  808.  
  809. Parameters
  810.  
  811.  ObjectIDx    Identification number or name of the object(s) to select
  812.  
  813. {Series}
  814.  
  815. Syntax
  816.  
  817.  {Series.Option}
  818.  
  819. PerfectScript Syntax
  820.  
  821.  Series_Data_Range (SeriesID:Any; Block:String; [CreateIfNotExist?:Enumeration {Yes!; No!}])
  822.  
  823.  Series_Delete (SeriesNumber:Numeric; [AndAllSeriesFollowing?:Enumeration {Yes!; No!}])
  824.  
  825.  Series_Go ()
  826.  
  827.  Series_Insert (SeriesNumber:Numeric; Block:String)
  828.  
  829.  Series_Label_Range (SeriesNumber:Numeric; Block:String; [CreateIfNotExist?:Enumeration {Yes!; No!}])
  830.  
  831.  Series_Legend (SeriesNumber:Numeric; LegendText:String)
  832.  
  833.  Series_Reverse_Series (Yes?:Enumeration {Yes!; No!})
  834.  
  835.  Series_Swap_Row_Col (Yes?:Enumeration {Yes!; No!})
  836.  
  837. Description
  838.  
  839.  {Series} creates or deletes chart series.
  840.  
  841.  When you manipulate a series using command equivalents, the changes are not made until the command {Series.Go} is used. In all the commands, SeriesNumber is the number of the series to affect (1 for the first series, 2 for the second, and so on).
  842.  
  843.  {Series.Data_Range} changes the values of an existing series. Block is the new cells that the series should take values from. If you are not sure whether the series exists, set CreateIfNotExist? to 1. Then the series will be created if it does not already exist. You can also use {Series.Data_Range} to set the x-axis series (use "XAxisLabelSeries") or set the legend series (use "LegendSeries").
  844.  
  845.  {Series.Delete} removes an existing series. Set AndAllSeriesFollowing? to 1 if you also want to remove all series following SeriesNumber.
  846.  
  847.  {Series.Insert} creates a new series. The series is inserted at the position specified by SeriesNumber. Block refers to the cells containing the new series' data.
  848.  
  849.  {Series.Label_Range} sets up the labels for each value in a series. Block refers to the cells containing the labels. If you are not sure whether the series exists, set CreateIfNotExist? to 1. Then the series will be created if it does not already exist.
  850.  
  851.  {Series.Legend} sets the legend text for a series (LegendText is the new text).
  852.  
  853.  You can use {Series?} or {Series!} to display the Chart Series dialog box. {Series?} lets you manipulate the dialog box, whereas {Series!} relies on the macro to manipulate it.
  854.  
  855.  You can add series to a floating chart using {ADDSERIES}.
  856.  
  857. Example
  858.  
  859.  The following macro creates a chart named Profit99 with two series. The series values are in A:A1..A27 and A:C1..C27. The series labels are in A:B1..B27 and A:D1..D27. The x axis is stored in A:E1..E27.
  860.  
  861.  {GraphNew Profit99}
  862.  
  863.  {GraphEdit Profit99}
  864.  
  865.  {Series.Data_Range "1",A:A1..A27,1}
  866.  
  867.  {Series.Data_Range "2",A:C1..C27,1}
  868.  
  869.  {Series.Label_Range "1",A:B1..B27}
  870.  
  871.  {Series.Label_Range "2",A:D1..D27}
  872.  
  873.  {Series.Data_Range "XAxisLabelSeries",A:E1..E27}
  874.  
  875.  {Series.Go}
  876.  
  877.  The following macro inserts a new series between the two series in the last example.
  878.  
  879.  {GraphEdit Profit99}
  880.  
  881.  {Series.Insert 2,A:G1..G27}
  882.  
  883.  {Series.Go}
  884.  
  885. Options
  886.  
  887.  {Series.Data_Range SeriesNumber | "XaxisLabelSeries" | "LegendSeries", Block <,CreateIfNotExist? (0|1)>}    Specifies the cell coordinates of the chart data, legend, or label. You must place this value within quotations.
  888.  
  889.     {Series.Delete SeriesNumber <,AndAllSeriesFollowing?>}    Deletes the selected series.
  890.  
  891.  {Series.Go}    Changes the series according to your selections.
  892.  
  893.  {Series.Insert SeriesNumber, Block}    Adds a new series after the selected series.
  894.  
  895.  {Series.Label_Range SeriesNumber, Block <,CreateIfNotExist? (0|1)>}    Specifies the series used for labels.
  896.  
  897.  {Series.Legend SeriesNumber, LegendText}    Specifies the series used for the legend. You must place this value within quotations.
  898.  
  899.  {Series.Reverse_Series 1|0}    Plots the last series first, then moves backwards through the series order.
  900.  
  901.   {Series.Swap_Row_Col 1|0}    Plots columns as series when Quattro Pro plots series by rows, and plots rows as series when Quattro Pro would plot columns.
  902.  
  903.  
  904.  
  905. {SeriesManager}
  906.  
  907. Syntax
  908.  
  909.  {SeriesManager.Option}
  910.  
  911. PerfectScript Syntax
  912.  
  913.  SeriesManager_Define (Name:String; FormulaOrList:String; FormulaTextOrRepeat:Any; SeedTextOrValue:String; {[Value:String]})
  914.  
  915.  SeriesManager_Go (Name:String; Orientation:Enumeration {Rows!; Columns!; Tabs!}; [Block:String])
  916.  
  917.  SeriesManager_Remove (Name:String)
  918.  
  919.  SeriesManager_Rename (OldName:String; NewName:String)
  920.  
  921. Description
  922.  
  923.  {SeriesManager} create a new QuickFill list series. Use {SeriesManager} to create a formula series and a list series.
  924.  
  925.  You can use {SeriesManager?} or {SeriesManager!} to display the Define Fill Series dialog box. {SeriesManager?} lets you manipulate the dialog box, whereas {SeriesManager!} relies on the macro to manipulate it.
  926.  
  927. Example
  928.  
  929.  The following macro creates a SpeedFill series named "First of Month" that consists of the first day of each month in 1995, then fills a column starting at A:A2 with the dates.
  930.  
  931.  {SeriesManager.Define "First of Month", List, No, "01/01/95", "02/01/95", "03/01/95", "04/01/95", "05/01/85", "06/01/95", "07/01/95", "08/01/95", "09/01/95", "10/01/05", "11/01/95", "12/01/95"}
  932.  
  933.  {SpeedFill}
  934.  
  935.  {SeriesManager.Go "First of Month",Columns, A:A2}
  936.  
  937. Options
  938.  
  939.  {SeriesManager.Define Name, Formula, FormulaText, SeedText}    Lets you define a new series.
  940.  
  941.  {SeriesManager.Define Name, List, Repeating?(0|1), Value1 <,Value2, Value3,...>}    Lets you define and name a new series.
  942.  
  943.  {SeriesManager.Go Name, Rows | Columns | Tabs, Block}    Quickly fill cells with a sequence of entries.
  944.  
  945.  {SeriesManager.Remove Name}    Deletes the selected series.
  946.  
  947.  {SeriesManager.Rename OldName, NewName}    Changes the name for the selected series.
  948.  
  949. {SetCellString}
  950.  
  951. Syntax
  952.  
  953.   SetCellString(Cell As String, String As String)
  954.  
  955. PerfectScript Syntax
  956.  
  957.  SetCellString (Cell: String; String: String)
  958.  
  959. Description
  960.  
  961.  Lets you specify the string insert into the cell.
  962.  
  963. Example
  964.  
  965.  {SetCellString A1; "The string"}
  966.  
  967. Parameters
  968.  
  969.  Cell    The cell into which you want to insert the string
  970.  
  971.  String    The string you want to insert into the cell
  972.  
  973. {SETGRAPHATTR}
  974.  
  975. Syntax
  976.  
  977.  SetGraphAttr(FillColor As String, BkgColor As String, FillStyle As String, BorderColor As String, BoxType As String)
  978.  
  979. PerfectScript Syntax
  980.  
  981.  SetGraphAttr (FillColor:String; BkgColor:String; FillStyle:String; BorderColor:String; BoxType:String)
  982.  
  983. Description
  984.  
  985.  {SETGRAPHATTR} lets you quickly set the properties of all selected objects in the active chart window. If one of the arguments specified in the {SETGRAPHATTR} command is not appropriate for an object, that argument is ignored.
  986.  
  987.  Each color (FillColor, BkgColor, and BorderColor) is in quotes, and specified in RGB format. For FillStyle, use any of the strings for that option in the appropriate Object Inspector.
  988.  
  989.  BoxType specifies the new border style for the object; use any Border Style property string included in a chart Object Inspector.
  990.  
  991. Parameters
  992.  
  993.  FillColor    New fill color of the selected object(s)
  994.  
  995.  BkgColor    New background color of the selected object(s)
  996.  
  997.  FillStyle    New fill style of the selected object(s)
  998.  
  999.  BorderColor    New border color of the selected object(s)
  1000.  
  1001.  BoxType    New border style of the selected object(s)
  1002.  
  1003. {SETLCID}
  1004.  
  1005. Syntax
  1006.  
  1007.  SetLCID([LocalID As Integer])
  1008.  
  1009. PerfectScript Syntax
  1010.  
  1011.  SetLCID ([LocalID:Numeric])
  1012.  
  1013. Description
  1014.  
  1015.  {SETLCID} sets the locale ID to the default locale ID or to one specified by LocalID. The local ID is a fixed number which specifies language, separator character, and a variety of other international settings; use {SETLCID} to ensure that the automation controller is using the default ID or the ID of a specific target object.
  1016.  
  1017. Parameters
  1018.  
  1019.  LocalID    The value of the local ID
  1020.  
  1021.  
  1022.  
  1023. {SETMENUBAR}
  1024.  
  1025. Syntax
  1026.  
  1027.  SetMenuBar([SystemDefinition As String])
  1028.  
  1029. PerfectScript Syntax
  1030.  
  1031.  SetMenuBar ([SystemDefinition:String])
  1032.  
  1033. Description
  1034.  
  1035.  {SETMENUBAR} lets you specify which menu system displays on the menu bar. SystemDefinition refers to cells containing the new menu system definition.
  1036.  
  1037.  You can use {SETMENUBAR} without an argument to restore the default Quattro Pro menu system.
  1038.  
  1039. Example
  1040.  
  1041.  {SETMENUBAR "A3..C324"} makes the system defined in A3..C324 the active menu system.
  1042.  
  1043. Parameters
  1044.  
  1045.  SystemDefinition    Cells containing a menu system definition
  1046.  
  1047. Note
  1048.  
  1049.   This command is obsolete.
  1050.   
  1051. {SETOBJECTPROPERTY}
  1052.  
  1053. Syntax
  1054.  
  1055.  SetObjectProperty(ObjectProperty As String, Value As String)
  1056.  
  1057. PerfectScript Syntax
  1058.  
  1059.  SetObjectProperty (ObjectProperty:String; Value:String)
  1060.  
  1061. Description
  1062.  
  1063.  {SETOBJECTPROPERTY} can change the property settings of many Quattro Pro objects. Selectable objects such as blocks and annotations can also be changed using {SETPROPERTY}. {SETOBJECTPROPERTY} can affect:
  1064.  
  1065.  ¿    Dialog controls. Use this syntax to specify a control to manipulate in a dialog window: [Notebook]DialogName:ObjectID.Property. [Notebook] is optional. For example, the following macro sets the Fill Color property of the control Rectangle1 in the dialog ColorPick to red:
  1066.  
  1067.  {SETOBJECTPROPERTY "ColorPick:Rectangle1.Fill_Color", "255,0,0"}
  1068.  
  1069.  ¿    Chart objects. Use the same syntax as for dialog controls, but substitute the name of the chart in place of DialogName. For example, the following macro changes the size of a rectangle named ColorPick in the chart 1QTR92:
  1070.  
  1071.  {SETOBJECTPROPERTY "1QTR92:ColorPick.Dimension", "0,0,25,25"}
  1072.  
  1073.  ¿    Menu items. Use the syntax MenuPath.Property. See the description of {ADDMENU} for the syntax of MenuPath.. For example, the following macro disables Save in the active menu system:
  1074.  
  1075.  {SETOBJECTPROPERTY "/File/Save.Disabled", "Yes"}
  1076.  
  1077. Parameters
  1078.  
  1079.  Value is the new setting for the property. You can also substitute another instance of Object.Property for this argument to copy property settings between objects. For example, this macro copies the text color of the active cells to the text color of A23:
  1080.  
  1081.  {SETOBJECTPROPERTY "A23.Text_Color","Active_Block.Text_Color"}
  1082.  
  1083.  See Property Reference for a list of properties you can use.
  1084.  
  1085. Parameters
  1086.  
  1087.  Object    Object to alter property of
  1088.  
  1089.  Property        Property to alter
  1090.  
  1091.  Value    New property setting (or another instance of Object.Property to copy the new setting from)
  1092.  
  1093. {SETPOS}
  1094.  
  1095. Syntax
  1096.  
  1097.  {SETPOS FilePosition}
  1098.  
  1099. Description
  1100.  
  1101.  {SETPOS} moves the file pointer of a file previously opened using OPEN to the value FilePosition. FilePosition refers to the offset, in number of bytes, where you want to position the file pointer. Therefore, the first position in the file is numbered 0, not 1.
  1102.  
  1103.  If no file is open when {SETPOS} is encountered (or some other problem occurs), macro execution begins with the next command in the same cell as {SETPOS}. If {SETPOS} succeeds, the rest of that cell's commands are ignored, and execution continues in the next row of the macro.
  1104.  
  1105.  For an example using {SETPOS}.
  1106.  
  1107. Parameters
  1108.  
  1109.  FilePosition    the number of bytes into a file to set the file pointer to
  1110.  
  1111. {SETPROPERTY}
  1112.  
  1113. Syntax
  1114.  
  1115.   SetProperty(Property As String, Value As String)
  1116.  
  1117. PerfectScript Syntax
  1118.  
  1119.  SetProperty (Property:String; Value:String)
  1120.  
  1121. Description
  1122.  
  1123.  {SETPROPERTY} alters the properties of the active object (use {SELECTBLOCK}, {SELECTFLOAT}, or {SELECTOBJECT} to select objects).
  1124.  
  1125.  To find Property, view the object and use the name of the control that sets the property. If the control name is more than one word, connect the words with underscores (_). See Property Reference for a list of properties you can use.
  1126.  
  1127. Example
  1128.  
  1129.  {SETPROPERTY "Text_Color", "3"}
  1130.  
  1131.  Result: Sets the selected cells' Text Color property to the fourth color on the notebook palette (the first color is 0).
  1132.  
  1133. Parameters
  1134.  
  1135.  Property    String representing the property to change
  1136.  
  1137.  Value    String representing the setting to apply to the property
  1138.  
  1139. {ShowErrorMessage}
  1140.  
  1141. Syntax
  1142.  
  1143.  ShowErrorMessage()
  1144.  
  1145. PerfectScript Syntax
  1146.  
  1147.  ShowErrorMessage ()
  1148.  
  1149. Description
  1150.  
  1151.  Reinstates the ability for Quattro Pro to show an error message, if one is warranted.
  1152.  
  1153. Note
  1154.  
  1155. ¿ This command is obsolete.
  1156. ¿ 
  1157. {Slide}
  1158.  
  1159. Syntax
  1160.  
  1161.  {Slide.Option}
  1162.  
  1163. PerfectScript Syntax
  1164.  
  1165.  Slide_Effect (Effect:String)
  1166.  
  1167.  Slide_Goto (SlideName:String)
  1168.  
  1169.  Slide_Next ()
  1170.  
  1171.  Slide_Previous ()
  1172.  
  1173.  Slide_Run (SlideShowName:String)
  1174.  
  1175.  Slide_Speed (Speed:Numeric)
  1176.  
  1177.  Slide_Time (Time:Numeric)
  1178.  
  1179. Description
  1180.  
  1181.  {Slide} lets you build, edit, and present graphics slide show sequences. Effect, Speed, and Time are the same options offered in the Slide Effect property in the Light Table window. {Slide.Effect}, {Slide.Speed}, {Slide.Time}, {Slide.Goto}, {Slide.Next}, and {Slide.Previous} can be in the spreadsheet macro which started the slide show, in a spreadsheet macro run from a chart button, or attached directly to a QuickButton or custom dialog box button.
  1182.  
  1183. Options
  1184.  
  1185.  {Slide.Eff ect Effect}    Specifies the transition effect to use when displaying the next slide in a slide show.
  1186.  
  1187.  {Slide.Goto SlideName}    Takes the active slide show directly to the slide SlideName.
  1188.  
  1189.  {Slide.Next}    Advances the active slide show to the next slide.
  1190.  
  1191.  {Slide.Previous}    Returns the active slide show to the previous slide.
  1192.  
  1193.  {Slide.Run SlideShowName}    Plays the slide show.
  1194.  
  1195.  {Slide.Speed 0-15}    Specifies the transition speed to use when displaying the next slide in a slide show.
  1196.  
  1197.  {Slide.Time Time}    Specifies the time in seconds to display the next slide in a slide show.
  1198.  
  1199. {SlideShowExpert}
  1200.  
  1201. Syntax
  1202.  
  1203.  SlideShowExpert()
  1204.  
  1205. Description
  1206.  
  1207.  {SlideShowExpert} displays the first Slide Show Expert dialog box. The macro has no arguments.
  1208.  
  1209. {SolveFor}
  1210.  
  1211. Syntax
  1212.  
  1213.  {SolveFor.Option}
  1214.  
  1215. PerfectScript Syntax
  1216.  
  1217.  SolveFor_Accuracy (Value:Numeric)
  1218.  
  1219.  SolveFor_Formula_Cell (Cell:String)
  1220.  
  1221.  SolveFor_Go ()
  1222.  
  1223.  SolveFor_Max_Iters (Iters:Numeric)
  1224.  
  1225.  SolveFor_Reset ()
  1226.  
  1227.  SolveFor_Target_Value (Value:Numeric)
  1228.  
  1229.  SolveFor_Variable_Cell (Cell:String)
  1230.  
  1231. Description
  1232.  
  1233.  {SolveFor} solves goal-seeking problems with one variable.
  1234.  
  1235.  {SolveFor.Formula_Cell} indicates the location of the formula to evaluate. {SolveFor.Target_Value} is the goal to reach, either a number or a cell containing a number. {SolveFor.Variable_Cell} indicates the formula variable (a referenced cell) that can change to reach the target value.
  1236.  
  1237.  {SolveFor.Max_Iters} and {SolveFor.Accuracy} control how many calculation passes to make and how closely the solution must match the target value. Use {SolveFor.Go} after the other commands. {SolveFor.Reset} clears previous settings.
  1238.  
  1239.  You can use {SolveFor?} or {SolveFor!} to display the Solve For dialog box. {SolveFor?} lets you manipulate the dialog box, whereas {SolveFor!} relies on the macro to manipulate it.
  1240.  
  1241. Options
  1242.  
  1243.  {SolveFor.Accuracy Value}    Specifies how close Solve For must get to the Target Value.
  1244.  
  1245.  {SolveFor.Variable_Cell Cell}    Indicates which cell Quattro Pro can change to solve for a desired value.
  1246.  
  1247.  {SolveFor.Formula_Cell Cell}    Specifies the cell containing the formula you want to solve.
  1248.  
  1249.  {SolveFor.Go}    Solves for the Target Value.
  1250.  
  1251.  {SolveFor.Max_Iters Value}    Determines how many passes Solve For makes to solve the formula.
  1252.  
  1253.  {SolveFor.Reset}    Clears all Solve For settings.
  1254.  
  1255.  {SolveFor.Target_Value Value}    Specifies the result you want from the Formula Cell.
  1256.  
  1257. {Sort}
  1258.  
  1259. Syntax
  1260.  
  1261.  {Sort.Option}
  1262.  
  1263. PerfectScript Syntax
  1264.  
  1265.  Sort_BlankCellsFirst (BlankFirst?:Enumeration {Yes!; No!})
  1266.  
  1267.  Sort_Block (Block:String)
  1268.  
  1269.  Sort_Data (Order:String)
  1270.  
  1271.  Sort_Go ()
  1272.  
  1273.  Sort_Heading (Heading?:Enumeration {Yes!; No!})
  1274.  
  1275.  Sort_Key_1 (Cell:String)
  1276.  
  1277.  Sort_Key_2 (Cell:String)
  1278.  
  1279.  Sort_Key_3 (Cell:String)
  1280.  
  1281.  Sort_Key_4 (Cell:String)
  1282.  
  1283.  Sort_Key_5 (Cell:String)
  1284.  
  1285.  Sort_Labels (Use:String)
  1286.  
  1287.  Sort_Order_1 (Order:String)
  1288.  
  1289.  Sort_Order_2 (Order:String)
  1290.  
  1291.  Sort_Order_3 (Order:String)
  1292.  
  1293.  Sort_Order_4 (Order:String)
  1294.  
  1295.  Sort_Order_5 (Order:String)
  1296.  
  1297.  Sort_PreviousSorts (PreviousSorts?:Numeric)
  1298.  
  1299.  Sort_Reset ()
  1300.  
  1301.  Sort_Type (Type?:String)
  1302.  
  1303. Description
  1304.  
  1305.  {Sort} sorts the entries in cells. To perform the sort, use {Sort.Go} after the other sort command equivalents.
  1306.  
  1307.  You can use {Sort?} or {Sort!} to display the Data Sort dialog box. {Sort?} lets you manipulate the dialog box, whereas {Sort!} relies on the macro to manipulate it.
  1308.  
  1309.  {Sort.Reset} allows Quattro Pro to automatically determine the sort block, the first sort key, and whether there is a heading row, based on the block surrounding the selected cell, or the selected range.
  1310.  
  1311. Example
  1312.  
  1313.  The following macro sorts the cells A3..C40 using two sort keys (columns A and C). The sort is in ascending order, and values in a column are placed in a group before labels in the column. The labels are sorted in dictionary order.
  1314.  
  1315.  {Sort.Reset}
  1316.  
  1317.  {Sort.Block "A:A3..C40"}
  1318.  
  1319.  {Sort.Type Top to bottom}
  1320.  
  1321.  {Sort.Heading 0}
  1322.  
  1323.  {Sort.Key_1 a25}
  1324.  
  1325.  {Sort.Key_2 c23}
  1326.  
  1327.  {Sort.Order_1 Ascending}
  1328.  
  1329.  {Sort.Order_2 Ascending}
  1330.  
  1331.  {Sort.BlankCellsFirst No}
  1332.  
  1333.  {Sort.Data Numbers First}
  1334.  
  1335.  {Sort.PreviousSorts -1}
  1336.  
  1337.  {Sort.Labels Dictionary}
  1338.  
  1339.  {Sort.Go}
  1340.  
  1341. Options
  1342.  
  1343.  {Sort.BlankCellsFirst 0|1}    Determines whether to filter blank cells to the top during a sort.
  1344.  
  1345.  {Sort.Block Block}    Specifies cells to be sorted, including row labels but excluding column headings.
  1346.  
  1347.  {Sort.Data "Labels First"|"Numbers First"}    Determines whether to sort Labels or Numbers first.
  1348.  
  1349.  {Sort.Go}    Performs the sort you specified.
  1350.  
  1351.  {Sort.Heading 0|1}    Determines whether the first row (or column, depending on sorting based on rows or columns) is used as column headings, or is part of the sort block.
  1352.  
  1353.  {Sort.Key_1-5 Block}    Specifies up to 5 sort keys, in the order they are to be sorted.
  1354.  
  1355.  {Sort.Labels "Character Code"|"Dictionary"}    Specifies whether text sorts in Dictionary order (ordinary alphabetizing rules) or Character Code order (according to character number-for example, uppercase letters before lowercase). Retained for use with previous Quattro Pro version macros.
  1356.  
  1357.  {Sort.Order_1-5 Ascending|Descending}    Specifies ascending or descending sort order
  1358.  
  1359.  {Sort.PreviousSorts N}    Stores up to the last five sorts performed in current file.
  1360.  
  1361.  {Sort.Reset}    Clears all entries and restores defaults.
  1362.  
  1363.  {Sort.Type "Left to Right" | "Top to Bottom"    Determines to sort by rows or columns.
  1364.  
  1365. {SPEEDFILL}
  1366.  
  1367. Syntax
  1368.  
  1369.  SpeedFill()
  1370.  
  1371. Description
  1372.  
  1373.  {SPEEDFILL} is equivalent to the QuickFill button  on the Toolbar. It fills the selected cells with sequential data, based on entries in the upper-left portion of the cells.
  1374.  
  1375.  To create or modify a series used with QuickFill, use {SeriesManager.Option}.
  1376.  
  1377. {SpeedFormat}
  1378.  
  1379. Syntax
  1380.  
  1381.  SpeedFormat(FmtName As String, NumFmt_ As _SpeedFormat_NumFmt__enum, Font_ As _SpeedFormat_Font__enum, Shading_ As _SpeedFormat_Shading__enum, TextColor_ As _SpeedFormat_TextColor__enum, Align_ As _SpeedFormat_Align__enum, LineDraw_ As _SpeedFormat_LineDraw__enum, AutoWidth_ As _SpeedFormat_AutoWidth__enum, ColHead_ As _SpeedFormat_ColHead__enum, ColTotal_ As _SpeedFormat_ColTotal__enum, RowHead_ As _SpeedFormat_RowHead__enum, RowTotal_ As _SpeedFormat_RowTotal__enum, [SubTotals_ As _SpeedFormat_SubTotals__enum])
  1382.  
  1383. PerfectScript Syntax
  1384.  
  1385.  SpeedFormat (FmtName:String; NumFmt?:Enumeration {Yes!; No!}; Font?:Enumeration {Yes!; No!}; Shading?:Enumeration {Yes!; No!}; TextColor?:Enumeration {Yes!; No!}; Align?:Enumeration {Yes!; No!}; LineDraw?:Enumeration {Yes!; No!}; AutoWidth?:Enumeration {Yes!; No!}; ColHead?:Enumeration {Yes!; No!}; ColTotal?:Enumeration {Yes!; No!}; RowHead?:Enumeration {Yes!; No!}; RowTotal?:Enumeration {Yes!; No!}; [SubTotals?:Enumeration {Yes!; No!}])
  1386.  
  1387. Description
  1388.  
  1389.  {SpeedFormat} applies the format FmtName to the selected cells. The arguments NumFmt? through SubTotals? each specify a part of the format to apply; use 1 to apply the part or 0 to omit the part.
  1390.  
  1391.  You can use {SpeedFormat?} or {SpeedFormat!} to display the SpeedFormat dialog box. {SpeedFormat?} lets you manipulate the dialog box, whereas {SpeedFormat!} relies on the macro to manipulate it.
  1392.  
  1393.  To add or remove formats, use {SpeedFormat.Option}.
  1394.  
  1395. Parameters
  1396.  
  1397.  FmtName    Name of the format to apply
  1398.  
  1399.  NumFmt?    1 to apply the numeric format; 0 otherwise
  1400.  
  1401.  Font?    1 to apply the font; 0 otherwise
  1402.  
  1403.  Shading?    1 to apply the shading; 0 otherwise
  1404.  
  1405.  TextColor?    1 to apply the text color; 0 otherwise
  1406.  
  1407.  Align?    1 to apply the alignment; 0 otherwise
  1408.  
  1409.  LineDraw?    1 to apply the line drawing; 0 otherwise
  1410.  
  1411.  AutoWidth?    1 to automatically size the columns; 0 otherwise
  1412.  
  1413.  ColHead    1 to apply the column heading format; 0 otherwise
  1414.  
  1415.  ColTotal?    1 to apply the column total format; 0 otherwise
  1416.  
  1417.  RowHead?    1 to apply the row heading format; 0 otherwise
  1418.  
  1419.  RowTotal?    1 to apply the row total format; 0 otherwise
  1420.  
  1421.  SubTotals?    1 to apply the subtotal format; 0 otherwise
  1422.  
  1423. {SpeedFormat}
  1424.  
  1425. Syntax
  1426.  
  1427.  {SpeedFormat.Option}
  1428.  
  1429. PerfectScript Syntax
  1430.  
  1431.  SpeedFormat_Add (Name:String; ExampleBlock:String)
  1432.  
  1433.  SpeedFormat_Remove (Name:String)
  1434.  
  1435. Description
  1436.  
  1437.  {SpeedFormat} adds formats to the SpeedFormat dialog box, or removes them. {SPEEDFORMAT.Add} lets you specify a name for the new format and the example cells that define the format. {SpeedFormat.Remove} deletes a specified format.
  1438.  
  1439. Example
  1440.  
  1441.  The following macro adds a format named "Strauss" to the SpeedFormat dialog box. The format is based on the example cells A:C10..H25.
  1442.  
  1443.  {SpeedFormat.Add "Strauss",A:C10..H25}
  1444.  
  1445. Options
  1446.  
  1447.  {SpeedFormat.Add Name, ExampleBlock}    Creates a new custom format.
  1448.  
  1449.  {SpeedFormat.Remove Name}    Deletes the active SpeedFormat.
  1450.  
  1451. {SPEEDSUM}
  1452.  
  1453. Syntax
  1454.  
  1455.  SpeedSum([Block As String]
  1456.  
  1457. PerfectScript Syntax
  1458.  
  1459.  SpeedSum ([Block:String])
  1460.  
  1461. Description
  1462.  
  1463.  {SPEEDSUM} is equivalent to selecting cells and choosing the QuickSum button  from the Toolbar. Block includes rows and/or columns to sum, plus adjacent empty cells to hold the results; the default Block is the current selection.
  1464.  
  1465. Parameters
  1466.  
  1467.  Block    Coordinates of the cells to sum, including blank cells for results
  1468.  
  1469. {STEP}
  1470.  
  1471. Syntax
  1472.  
  1473.  STEP()
  1474.  
  1475. Description
  1476.  
  1477.  {STEP} is equivalent to the Debug key, Shift+F2.
  1478.  
  1479. Note
  1480.  
  1481.   This command is obsolete
  1482.   
  1483. {SuppressErrorValue}
  1484.  
  1485. Syntax
  1486.  
  1487. SuppressErrorValue()
  1488.  
  1489. PerfectScript Syntax
  1490.  
  1491. SuppressErrorValue ()
  1492.  
  1493. Description
  1494.  
  1495. Suppresses the ability for Quattro Pro to return a specific error value, if one is warranted.
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.