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 ( #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
Node Status?
node history
Node Type: note [id://11101077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2020-05-26 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (150 votes). Check out past polls.

    Notices?