http://qs321.pair.com?node_id=11101077


in reply to Re^2: Excel copy data from one cell to another cell
in thread Excel copy data from one cell to another cell

Example for copying a single cell with Win32::OLE

$Sheet->Range("B4")->{Value} = $Sheet->Range("A1")->{Value};
with $Sheet being an Excel-worksheet

HTH, Rata

Replies are listed 'Best First'.
Re^4: Excel copy data from one cell to another cell
by davies (Prior) on Jun 07, 2019 at 07:30 UTC

    Yes, if the value is what is wanted. If it's the formula or (parts of) the format, the command will be different. For myself, I copy formulae far more often than values, but we don't know what the OP wants.

    Regards,

    John Davies