Y
yaoluo
Unregistered / Unconfirmed
GUEST, unregistred user!
帮助中的VB例子是
Private Sub cmdCopy_Click()
Dim copyArray(1 To 30, 1 To 40) As Variant
F1Book1.CopyDataToArray 1, 1, 1, 30, 40, True, copyArray
F1Book2.CopyDataFromArray 1, 10, 5, 40, 45, False, copyArray
End Sub
DELPHI中的申明是
procedure TF1Book6.CopyDataToArray(nSheet: Integer; nRow1: Integer; nCol1: Integer; nRow2: Integer;
nCol2: Integer; bValuesOnly: WordBool; Array_: OleVariant);
begin
DefaultInterface.CopyDataToArray(nSheet, nRow1, nCol1, nRow2, nCol2, bValuesOnly, Array_);
end;
请教高手
怎样处理OleVariant???? 请给一个例子
Private Sub cmdCopy_Click()
Dim copyArray(1 To 30, 1 To 40) As Variant
F1Book1.CopyDataToArray 1, 1, 1, 30, 40, True, copyArray
F1Book2.CopyDataFromArray 1, 10, 5, 40, 45, False, copyArray
End Sub
DELPHI中的申明是
procedure TF1Book6.CopyDataToArray(nSheet: Integer; nRow1: Integer; nCol1: Integer; nRow2: Integer;
nCol2: Integer; bValuesOnly: WordBool; Array_: OleVariant);
begin
DefaultInterface.CopyDataToArray(nSheet, nRow1, nCol1, nRow2, nCol2, bValuesOnly, Array_);
end;
请教高手
怎样处理OleVariant???? 请给一个例子