Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by davies (Prior)
on Jun 06, 2019 at 14:22 UTC ( [id://11101055]=note: print w/replies, xml ) Need Help??


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

If the OP is using Win32::OLE, the thread Inserting copied rows at another position in Excel might help. Copying single cells isn't discussed, but lots of copying techniques are and might be helpful.

Regards,

John Davies

  • Comment on Re^2: Excel copy data from one cell to another cell

Replies are listed 'Best First'.
Re^3: Excel copy data from one cell to another cell
by Ratazong (Monsignor) on Jun 07, 2019 at 06:48 UTC

    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

      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

Re^3: Excel copy data from one cell to another cell
by PraveenKS (Initiate) on Jun 07, 2019 at 06:44 UTC
    John, thank you for your reply.. it's my mistake I haven't mentioned where I am working.. I am trying to generate the excle file from Linux OS machine.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found