von Stephan » Mi, 17.06.2009 23:12
nutze .getDataArray() / .setDataArray():
http://api.openoffice.org/docs/common/r ... eData.html
Code: Alles auswählen
With ThisComponent.sheets().getbyname("Aufträge")
x = .getCellRangeByName("G1:G65536").GetDataArray()
.getCellrangeByName("H1:H65536").SetDataArray(x)
End With
Gruß
Stephan
nutze .getDataArray() / .setDataArray():
http://api.openoffice.org/docs/common/ref/com/sun/star/sheet/XCellRangeData.html
[code]With ThisComponent.sheets().getbyname("Aufträge")
x = .getCellRangeByName("G1:G65536").GetDataArray()
.getCellrangeByName("H1:H65536").SetDataArray(x)
End With[/code]
Gruß
Stephan