The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OCX - function GetArray
#1
How can I use this function?

word GetArray(ColLeft RowTop VARIANT'VarArray)



Syntax

C++

BOOL CSpreadSheet::GetArray(long ColLeft, long RowTop, const VARIANT& VarArray);


Visual Basic

fpSpread.GetArray(ByVal ColLeft As Long, ByVal RowTop As Long, ByVal VarArray As Variant) As Boolean

Parameters
The following parameters are available:

Parameter Description
ColLeft Specifies the column of the first cell to read into the array
RowTop Specifies the row of the first cell to read into the array
VarArray Array to contain the data returned from the sheet
The array specification is zero-based.

I tried:

ARRAY(VARIANT) aa
sc3.GetArray(1 1 aa)

but doesn't work.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)