Page 1 of 1

CopyColumns with cell value

Posted: Wed Mar 28, 2007 5:22 pm
by Guest
Hello!

I'd like to copy columns from one sheet to other with formula in cells but copy only value of formula.

I use 'CopyColumns(SrcSheet, Col1, Col2, DestSheet, DestCol: integer; DoCopyCells: boolean = True)' but unsuccessfully.
Please, help me.

Thanks!

Posted: Thu Mar 29, 2007 4:22 pm
by larsa
Hello

Yes, there seems to be an error there.

You can use CopyColumns first with DoCopyCells as False, the use CopyCells.


Lars Arvidsson

Posted: Fri Mar 30, 2007 7:42 am
by Guest
Thanks, Larsa

I copy first with DoCopyCells as False, then use CopyCells, but only formulas are copied instead of values of formula... :(