To All,
I am trying to copy one range of cells from a selected sheet to another blank sheet and the code below works, so happy days, however it only copies the actual data and not the formatting, anyone ever played with something like this and managed to copy the formatting as well as the data ?
Set objXLOORangeSource = sXLSheetSource.getCellRangeByPosition(lngSourceColStart, lngSourceRowStart, lngSourceColFinsh, lngSourceRowFinish)
' Set target range of cells
Set objXLOORangeTarget = objXLOOSheetTarget.getCellRangeByPosition(lngSourceColStart, 0, lngSourceColFinsh, lngTargetRowFinish)
objXLOORangeTarget.setDataArray (objXLOORangeSource.getDataArray())
Thanks in advance for any help.
Paul