-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i found that, the oSheet.copyRange(oDstCell, oSrcRange) does not work,
if cells in the destination area are merged ...
this is not a real problem, cause you can unmerge the destination range before
the copy ...
- ------------------8<-----------------------
oDstRange = oSheet.getCellRangeByPosition(oDstCell.Column, oDstCell.Row,_
oDstCell.Column + oSrcRange.EndColumn -
oSrcRange.StartColumn,_
oDstCell.Row + oSrcRange.EndRow -
oSrcRange.StartRow)
If oDstRange.getIsMerged() = True Then
oDstRange.merge(False)
EndIf
oSheet.copyRange(oDstCell, oSrcRange)
- ------------------>8-----------------------
but it is a little bit unfortune, that the method has no return code (void),
does not throw an
exception, and the idl reference tells nothing about this problem ...
regards
Oliver
- --
GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDvoUdTiyrQM/QSkURAuttAKC+hmnIhoPtvecKWntKNkb1uTO8PQCfdzuZ
MwgO2BwIy8OyfOKQoDKQauw=
=EsjA
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]