Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Excel Chart

by Anonymous Monk
on May 31, 2016 at 08:11 UTC ( [id://1164551]=note: print w/replies, xml ) Need Help??


in reply to Re: Excel Chart
in thread Excel Chart

Instead of hard coding as " categories => '='."$worksheet".'!$B$1:$E$1' ", Can we make it dynamic to select the range of cells to plot the chart? Any idea how to make it dynamic?

Replies are listed 'Best First'.
Re^3: Excel Chart
by Corion (Patriarch) on May 31, 2016 at 08:20 UTC

    Making the range dynamic is as easy as constructing the appropriate string for the range.

Re^3: Excel Chart
by davies (Prior) on May 31, 2016 at 10:55 UTC

    Have a look at Re^3: Win32::Ole excel external data range, in which I show the use of dynamic ranges. It does other things too (it's answering a different question), but I think it's reasonably clear.

    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://1164551]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-04-25 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found