ISProfile.LoadFlowSheets

Description

This function returns the flow sheets loaded on the basis of the selected filter.

Syntax

object.LoadFlowSheets( [aFilter])

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aFilter Optional
The object that defines conditions for filtering

Return Value

ISFlowSheets

Returns the flow sheets loaded on the basis of the selected filter.

Example

Display the number of the flow sheets loaded on the basis of the selected filter, their names and codes.

Dim aFilter
Dim aFlowSheet
Dim aFlowSheets
Dim aMessage

Set aFilter = Profile.CreateFlowSheetFilter
aFilter.Code = "Height"
set aFlowSheets = Profile.LoadFlowSheets(aFilter)

aMessage = "FlowSheets Count = " & aFlowSheets.Count
for i = 0 to aFlowSheets.Count - 1
  set aFlowSheet = aFlowSheets.Item(i)
  aMessage = aMessage & vbNewLine & "The name of the flow sheet is " &_
  aFlowSheet.Name & " (" & aFlowSheet.Code & ")"
next      

Profile.MsgBox(aMessage)
Note:

In Profile Client v8 on User Interface FlowSheets can be found in Maintain > Flow Sheets.

See also

Version information

Added in v8.4.32