Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Excel copy data from one cell to another cell

by Ratazong (Monsignor)
on Jun 07, 2019 at 06:48 UTC ( [id://11101077]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11101077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-25 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found