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

  1. Quattro Pro VBA Macros Help
  2.  
  3. Click the Help Topics button to return to the list of topics.
  4.  
  5. Using ActiveX Components
  6.  
  7. An ActiveX component (*.OCX) enables you to add a great amount of power and flexibility to your VBA macro. An ActiveX component is basically a special type of DLL (dynamic link library). Originally, ActiveX components were created to replace Visual Basic controls, however they have exceeded this purpose. Visual Basic for Applications (VBA) is an ActiveX container, meaning that you can include ActiveX components in your VBA macro. 
  8.  
  9. The components which are located on the toolbar are part of the Microsoft 2.0 Object library. These components are meant for VBA programming. You can add additional components to your VBA project. However, some components may work and others may not. Not all ActiveX components are meant for the VBA environment. It is recommended that you became familiar with a individual component before you add it to your VBA macro. 
  10.  
  11. If you are trying to add a new Active X control to your VBA Toolbox and are receiving errors stating that the control is not licensed or that the control just does not work properly, this is not a bug - here may be many reasons for these error messages:
  12.  
  13. * Many Windows applications write Active X controls for their own use and therefore are not supported or even expected to be used by other applications. Many of the controls that are included with Corel WordPerfect Office are of this nature and cannot be used with VBA. 
  14. * Some Active X controls installed to your system may have been included with other development applications such as Visual C++, Visual Basic, Delphi etc, and they may have license requirements that only allow them to run in their own development environment. Therefore, they will not work with VBA. 
  15. As a result, only those Active X controls available with Microsoft Forms 2.0 that are shipped as part of Microsoft Visual Basic for Applications 6.0 are supported in WordPerfect Office. Any others you have on your system may be used with VBA, but may not be actually intended for use in this manner, and therefore will not work. Even if they do work, you may not have rights to distribute them to your VBA Macro users.
  16.  
  17. if you are using custom controls, be very careful that the control you are using is meant to be used in VBA and that you have the proper licensing rights required for its use in your application.
  18.  
  19. To add an ActiveX component to your VBA Form
  20.  
  21. 1. From the VBA Editor, select Insert, User Form. 
  22.  
  23. 2. Select Tools, Additional Controls
  24.  
  25. 3. Select the desired component. 
  26.  
  27. Quattro Pro PerfectScript Class Members
  28.  
  29.  
  30.  
  31. PerfectScript Macro Commands List
  32.  
  33.  
  34.  
  35.  A
  36.  
  37.     AbsoluteReference
  38.  
  39.     ACTIVATE
  40.  
  41.     ADDMENU
  42.  
  43.     ADDMENUITEM
  44.  
  45.     ADDSERIES
  46.  
  47.     AddSubMenuItem
  48.  
  49.     Alert
  50.  
  51.     AnalysisExpert
  52.  
  53.     ANOVA1
  54.  
  55.     ANOVA2
  56.  
  57.     ANOVA3
  58.  
  59.     Application.Property
  60.  
  61.     Audit.Remove_All_Arrows
  62.  
  63.     Audit.Trace_Dependents
  64.  
  65.     Audit.Trace_Precedents
  66.  
  67.  
  68.  
  69.  B
  70.  
  71.     BEEP
  72.  
  73.     BLANK
  74.  
  75.     BlockCopy
  76.  
  77.     BlockDelete.Option
  78.  
  79.     BlockFill.Option
  80.  
  81.     BlockInsert.Option
  82.  
  83.     BlockMove 
  84.  
  85.     BlockMovePages
  86.  
  87.     BlockName.Option
  88.  
  89.     BlockReformat
  90.  
  91.     BlockTranspose
  92.  
  93.     BlockValues
  94.  
  95.     BudgetExpert
  96.  
  97.  
  98.  
  99.  C
  100.  
  101.     CALC
  102.  
  103.     CAPOFF
  104.  
  105.     CAPON
  106.  
  107.     ChartExpert
  108.  
  109.     CLEAR
  110.  
  111.     ClearComments
  112.  
  113.     ClearContents
  114.  
  115.     ClearFormats
  116.  
  117.     COLUMNWIDTH
  118.  
  119.     Comment.Edit
  120.  
  121.     Comment.EditURL
  122.  
  123.     ComposeFormula
  124.  
  125.     Consolidate.Option
  126.  
  127.     ConsolidateExpert
  128.  
  129.     CONTENTS
  130.  
  131.     Controls.Option
  132.  
  133.     CR
  134.  
  135.     CreateChart 
  136.  
  137.     CREATEOBJECT
  138.  
  139.     CrossTab
  140.  
  141.     CrossTabReport.AddField
  142.  
  143.     CrossTabReport.CenterLabels
  144.  
  145.     CrossTabReport.ColumnSummary
  146.  
  147.     CrossTabReport.CopyStatic
  148.  
  149.     CrossTabReport.Create
  150.  
  151.     CrossTabReport.DataAlignment
  152.  
  153.     CrossTabReport.DefineFieldProps
  154.  
  155.     CrossTabReport.Destination
  156.  
  157.     CrossTabReport.DisplayInEmptyCell
  158.  
  159.     CrossTabReport.Edit
  160.  
  161.     CrossTabReport.EmptyCellString
  162.  
  163.     CrossTabReport.Expand
  164.  
  165.     CrossTabReport.FieldCmp
  166.  
  167.     CrossTabReport.FieldCmpBase
  168.  
  169.     CrossTabReport.FieldCmpItem
  170.  
  171.     CrossTabReport.FieldCmpItemPreset
  172.  
  173.     CrossTabReport.FieldHide
  174.  
  175.     CrossTabReport.FieldLabel
  176.  
  177.     CrossTabReport.FieldOptions
  178.  
  179.     CrossTabReport.FieldSummary
  180.  
  181.     CrossTabReport.FormatReport
  182.  
  183.     CrossTabReport.Hide
  184.  
  185.     CrossTabReport.LabelEdit
  186.  
  187.     CrossTabReport.MoveCell
  188.  
  189.     CrossTabReport.MoveField
  190.  
  191.     CrossTabReport.Name
  192.  
  193.     CrossTabReport.Options
  194.  
  195.     CrossTabReport.PageFilter
  196.  
  197.     CrossTabReport.PreserveDataFormat
  198.  
  199.     CrossTabReport.Refresh
  200.  
  201.     CrossTabReport.Remove
  202.  
  203.     CrossTabReport.RowSummary
  204.  
  205.     CrossTabReport.Show
  206.  
  207.     CrossTabReport.Source
  208.  
  209.     CrossTabReport.UpdateDataOnOpen
  210.  
  211.  
  212.  
  213.  D
  214.  
  215.     DatabaseQuery
  216.  
  217.     DATE
  218.  
  219.     DbAlias
  220.  
  221.     DELETEMENU
  222.  
  223.     DELETEMENUITEM
  224.  
  225.     DELVAR
  226.  
  227.     DESCR
  228.  
  229.     DialogView
  230.  
  231.     DialogWindow.Property
  232.  
  233.     DLL
  234.  
  235.     DLL.Load
  236.  
  237.     DraftViewGoto
  238.  
  239.  
  240.  
  241.  E
  242.  
  243.     EDIT
  244.  
  245.     EditClear
  246.  
  247.     EditCopy
  248.  
  249.     EditCut
  250.  
  251.     EditGoto
  252.  
  253.     EditPaste
  254.  
  255.     EXECAUTO
  256.  
  257.     EXPON
  258.  
  259.     ExportGraphic
  260.  
  261.  
  262.  
  263.  F
  264.  
  265.     FileClose
  266.  
  267.     FileCloseAll
  268.  
  269.     FileCombine
  270.  
  271.     FileExit
  272.  
  273.     FileExtract
  274.  
  275.     FileImport
  276.  
  277.     FileNew
  278.  
  279.     FileOpen
  280.  
  281.     FileRetrieve
  282.  
  283.     FileSave
  284.  
  285.     FileSaveAll
  286.  
  287.     FileSaveAs
  288.  
  289.     FileSend
  290.  
  291.     FileVersion.Retrieve
  292.  
  293. FileVersion.Retrieve_Current
  294.  
  295.     FileVersionSave
  296.  
  297.     FLOATCOPY
  298.  
  299.     FLOATCREATE
  300.  
  301.     FLOATMOVE
  302.  
  303.     FloatOrder.Option
  304.  
  305.     FLOATSIZE
  306.  
  307.     FLOATTEXT
  308.  
  309.     Form
  310.  
  311.     FOURIER
  312.  
  313.     Frequency.Option
  314.  
  315.     FTESTV
  316.  
  317.     FUNCTIONS
  318.  
  319.  
  320.  
  321.  G
  322.  
  323.     GetCellFormula
  324.  
  325.     GetCellValue
  326.  
  327.     GETDIRECTORYCONTENTS
  328.  
  329.     GetObjectPageContents
  330.  
  331.     GETOBJECTPROPERTY
  332.  
  333.     GETPROPERTY
  334.  
  335.     GETWINDOWLIST
  336.  
  337.     GraphCopy
  338.  
  339.     GraphDeactivate
  340.  
  341.     GraphDelete
  342.  
  343.     GraphEdit
  344.  
  345.     GraphGallery
  346.  
  347.     GraphNew
  348.  
  349.     GraphSettings.Titles
  350.  
  351.     GraphSettings.Type
  352.  
  353.     GraphView
  354.  
  355.     GraphWindow.Property
  356.  
  357.     Group.Option
  358.  
  359.     GroupObjects
  360.  
  361.  
  362.  
  363.  H
  364.  
  365.     HELP
  366.  
  367.     HISTOGRAM
  368.  
  369.     HLINE
  370.  
  371.     HPAGE
  372.  
  373.  
  374.  
  375.  I
  376.  
  377.     IMFORMAT
  378.  
  379.     ImportGraphic
  380.  
  381.     INDICATE
  382.  
  383.     InsertBreak
  384.  
  385.     InsertObject
  386.  
  387.     InsertPageBreak.Option
  388.  
  389.     INSOFF
  390.  
  391.     INSON
  392.  
  393.     INSPECT
  394.  
  395.     Invert.Option
  396.  
  397.     IsAutoObj 
  398.  
  399.  
  400.  
  401.  J
  402.  
  403. No macros.
  404.  
  405.  
  406.  
  407.  K
  408.  
  409. No macros.
  410.  
  411.  
  412.  
  413.  L
  414.  
  415.     LET
  416.  
  417.     Links.Option
  418.  
  419.  
  420.  
  421.  M
  422.  
  423.     MACROS
  424.  
  425.     MapExpert
  426.  
  427.     MCORREL
  428.  
  429.     MCOVAR
  430.  
  431.     MOVEAVG
  432.  
  433.     MOVETO
  434.  
  435.     MTGAMT
  436.  
  437.     MTGREFI
  438.  
  439.     Multiply.Option
  440.  
  441.  
  442.  
  443.  N
  444.  
  445.     NAME
  446.  
  447.     NamedStyle.Option
  448.  
  449.     NAVIGATE.Option
  450.  
  451.     NEXTPANE
  452.  
  453.     NEXTTOPWIN
  454.  
  455.     NEXTWIN
  456.  
  457.     Notebook.Summary.Option
  458.  
  459.     Notebook.System
  460.  
  461.     Notebook.Zoom_Factor
  462.  
  463.     NUMOFF
  464.  
  465.     NUMON
  466.  
  467.  
  468.  
  469.  O
  470.  
  471.     OBJECTSPAGEGOTO
  472.  
  473.     OLE.Option
  474.  
  475.     OnlineService
  476.  
  477.     Optimizer.Option
  478.  
  479.     Order.Option
  480.  
  481.     Outline.Option
  482.  
  483.  
  484.  
  485.  P
  486.  
  487.     Page.Property
  488.  
  489.     PageViewGoto
  490.  
  491.     PANELOFF
  492.  
  493.     PANELON
  494.  
  495.     ParseExpert_ApplyFormatting
  496.  
  497.     ParseExpert_CellDelimiterString
  498.  
  499.     ParseExpert_CellDelimiterTypeComma
  500.  
  501.     ParseExpert_CellDelimiterTypeMultiSpace
  502.  
  503.     ParseExpert_CellDelimiterTypeOther
  504.  
  505.     ParseExpert_CellDelimiterTypeReturn
  506.  
  507.     ParseExpert_CellDelimiterTypeSemiColon
  508.  
  509.     ParseExpert_CellDelimiterTypeSpace
  510.  
  511.     ParseExpert_CellDelimiterTypeTab
  512.  
  513.     ParseExpert_ColumnWidths
  514.  
  515.     ParseExpert_ConsecutiveAsOne
  516.  
  517.     ParseExpert_DataType
  518.  
  519.     ParseExpert_DelimiterType
  520.  
  521.     ParseExpert_Go
  522.  
  523.     ParseExpert_IgnoreNonConformingRows
  524.  
  525.     ParseExpert_InputBlock
  526.  
  527.     ParseExpert_InputFile
  528.  
  529.     ParseExpert_InputType
  530.  
  531.     ParseExpert_JoinBrokenLines
  532.  
  533.     ParseExpert_LineLength
  534.  
  535.     ParseExpert_LoadSettings
  536.  
  537.     ParseExpert_OtherDelimiter
  538.  
  539.     ParseExpert_OutputBlock
  540.  
  541.     ParseExpert_PageLength
  542.  
  543.     ParseExpert_PageLengthEnabled
  544.  
  545.     ParseExpert_Restore
  546.  
  547.     ParseExpert_RowDelimiterString
  548.  
  549.     ParseExpert_RowDelimiterTypeComma
  550.  
  551.     ParseExpert_RowDelimiterTypeMultiSpace
  552.  
  553.     ParseExpert_RowDelimiterTypeOther
  554.  
  555.     ParseExpert_RowDelimiterTypeReturn
  556.  
  557.     ParseExpert_RowDelimiterTypeSemiColon
  558.  
  559.     ParseExpert_RowDelimiterTypeSpace
  560.  
  561.     ParseExpert_RowDelimiterTypeTab
  562.  
  563.     ParseExpert_SaveSettings
  564.  
  565.     ParseExpert_SettingsFile
  566.  
  567.     ParseExpert_SheetDelimiterString
  568.  
  569.     ParseExpert_SheetDelimiterTypeComma
  570.  
  571.     ParseExpert_SheetDelimiterTypeMultiSpace
  572.  
  573.     ParseExpert_SheetDelimiterTypeOther
  574.  
  575.     ParseExpert_SheetDelimiterTypeReturn
  576.  
  577.     ParseExpert_SheetDelimiterTypeSemiColon
  578.  
  579.     ParseExpert_SheetDelimiterTypeSpace
  580.  
  581.     ParseExpert_SheetDelimiterTypeTab
  582.  
  583.     ParseExpert_Skip1stChar
  584.  
  585.     ParseExpert_TextQualifier
  586.  
  587.     ParseExpert_ValueQualifier
  588.  
  589.     PasteSpecial
  590.  
  591.     POKE
  592.  
  593.     Preview
  594.  
  595.     Print.Option
  596.  
  597.     PTTESTM
  598.  
  599.     PTTESTV
  600.  
  601.     PUT
  602.  
  603.     PUTBLOCK
  604.  
  605.     PUTBLOCK2
  606.  
  607.     PUTCELL
  608.  
  609.     PUTCELL2
  610.  
  611.  
  612.  
  613.  Q
  614.  
  615.     QUERY
  616.  
  617.     Query.Option
  618.  
  619.     QuickCorrect
  620.  
  621.     QuickFilter.Go
  622.  
  623.     QuickFilter.Toggle
  624.  
  625.     QuickFilter.TopGo
  626.  
  627.     QuickFunction
  628.  
  629.     QUIT
  630.  
  631.  
  632.  
  633.  R
  634.  
  635.     RANDOM
  636.  
  637.     RANKPERC
  638.  
  639.     RECALC
  640.  
  641.     RECALCCOL
  642.  
  643.     REGRESS
  644.  
  645.     Regression.Option
  646.  
  647.     REQUEST
  648.  
  649.     RESIZE
  650.  
  651.     ResizeToSame
  652.  
  653.     RestrictInput.Option
  654.  
  655.     ROWCOLSHOW
  656.  
  657.     ROWHEIGHT
  658.  
  659.  
  660.  
  661.  S
  662.  
  663.     SAMPLE
  664.  
  665.     SaveHtml.Option 
  666.  
  667.     Scenario.Option
  668.  
  669.     ScenarioExpert
  670.  
  671.     SCROLLOFF
  672.  
  673.     SCROLLON
  674.  
  675.     Search.Option
  676.  
  677.     SelectAll
  678.  
  679.     SELECTBLOCK
  680.  
  681.     SELECTFLOAT
  682.  
  683.     SELECTOBJECT
  684.  
  685.     Series.Option
  686.  
  687.     SeriesManager.Option
  688.  
  689.     SetCellString 
  690.  
  691.     SETGRAPHATTR
  692.  
  693.     SETLCID
  694.  
  695.     SETMENUBAR
  696.  
  697.     SETOBJECTPROPERTY
  698.  
  699.     SETPROPERTY
  700.  
  701.     Slide.Option
  702.  
  703.     SlideShowExpert
  704.  
  705.     SolveFor.Option
  706.  
  707.     Sort.Option
  708.  
  709.     SPEEDFILL
  710.  
  711.     SPEEDFORMAT
  712.  
  713.     SPEEDFORMAT.Option
  714.  
  715.     SPEEDSUM
  716.  
  717.  
  718.  
  719.  T
  720.  
  721.     TABLE
  722.  
  723.     TableLink.Option
  724.  
  725.     TableQuery.Option
  726.  
  727.     TableView
  728.  
  729.     TemplateTB.Option
  730.  
  731.     Toolbar.Option
  732.  
  733.  
  734.  
  735.  U
  736.  
  737.     UNDO
  738.  
  739.     UngroupObjects
  740.  
  741.  
  742.  
  743.  V
  744.  
  745.     VLINE
  746.  
  747.     VPAGE
  748.  
  749.  
  750.  
  751.  W
  752.  
  753.     WhatIf.Option
  754.  
  755.     WhatIfExpert
  756.  
  757.     WindowArrIcon
  758.  
  759.     WindowCascade
  760.  
  761.     WindowClose
  762.  
  763.     WindowHide
  764.  
  765.     WindowMaximize
  766.  
  767.     WindowMinimize
  768.  
  769.     WindowMove
  770.  
  771.     WindowNewView
  772.  
  773.     WindowNext
  774.  
  775.     WindowPanes
  776.  
  777.     WindowQPW.Option
  778.  
  779.     WindowRestore
  780.  
  781.     WindowShow
  782.  
  783.     WindowSize
  784.  
  785.     WINDOWSOFF
  786.  
  787.     WINDOWSON
  788.  
  789.     WindowTile
  790.  
  791.     WindowTile.TileTopToBottom
  792.  
  793.     WindowTitles
  794.  
  795.     Workflow.Option 
  796.  
  797.     WorkSpace.Option
  798.  
  799.  
  800.  
  801.  X
  802.  
  803.     XMLTag.Option 
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  Y
  810.  
  811. No macros.
  812.  
  813.  
  814.  
  815.  Z
  816.  
  817. No macros.
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824. MC_CMD, 7/7/99        14
  825.  
  826. MC_CMD, 07/07/99, Page 14
  827.  
  828.  
  829.