GetDataType2 Method (ActiveX)

Gets the row data type and unit type for cell content.

Supported platforms: Windows only

Signature

VBA:

object.GetDataType2 nRow, nCol, nContent, pDataType, pUnitType
object

Type: Table, TableStyle

The objects this method applies to.

nRow

Access: Input-only

Type: Long

The row number of the cell to set.

nCol

Access: Input-only

Type: Long

The column number of the cell to set.

nContent

Access: Input-only

Type: Long

The content value for the cell.

pDataType

Access: Output-only

Type: AcValueDataType enum

The data type of the content

  • acBuffer
  • acDate
  • acDouble
  • acGeneral
  • acLong
  • acObjectId
  • acPoint2d
  • acPoint3d
  • acResbuf
  • acString
  • acUnknownDataType
pUnitType

Access: Output-only

Type: AcValueUnitType enum

The unit type of the content.

  • acUnitAngle
  • acUnitArea
  • acUnitDistance
  • acUnitless
  • acUnitVolume

Return Value (RetVal)

No return value.

Remarks

No additional remarks.

Examples

VBA:

Not available

Visual LISP:

Not available