DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: Formatter for Workbook

Property: Formatter for Workbook

Returns the Formatter object that contains information about the format of the workbook that the DataPlugin is currently processing.

Set oCellFormatter = Object.Formatter
ObjectWorkbook
Object with this property
oCellFormatterCellFormatter
Returned object

The following example sets the Formatter object properties that are required for reading the following values:

0,3	958,4	29,80,4	1137,7	36,40,5	#NV	44,10,6	1474,6	#NV0,7	#NV	68,4Dim oGroup: Set oGroup = Root.ChannelGroups.Add("MyChannelGroup")
Workbook.Formatter.NoValueSign = "#NV"
Dim oSheet: Set oSheet = Workbook.Sheets(1)
Dim oBlock: Set oBlock = oSheet.GetCellBlock(1,1)

Dim iCol, oChannel
For iCol = 1 to 3
  Set oChannel= oBlock.Channels.Add("Channel")
  Call oGroup.Channels.AddDirectAccessChannel(oChannel)
Next
In This Section
Was this information helpful?