Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Adding pictures to Excel

by merrymonk (Friar)
on Jan 23, 2010 at 15:01 UTC ( #819190=note: print w/ replies, xml ) Need Help??


in reply to Re: Adding pictures to Excel
in thread Adding pictures to Excel

I altered my example to try and move the pictures after they had been inserted but nothing happened.
Therefore the two pictures were added on top of each other.
Have you any idea what I should do next?


Comment on Re^2: Adding pictures to Excel
Re^3: Adding pictures to Excel
by merrymonk (Friar) on Jan 23, 2010 at 15:24 UTC
    Soory, I should have said that I got the following error
    Can't modify non-lvalue subroutine call at ....
    for the line
    $picCurrent->Top = 130;
      That happens when you need to put something in {braces}. I have changed the code in the earlier node to include this, but I have commented in Re: coding for excel in perl on the impenetrability of the rules for using braces.

      Regards,

      John Davies
        Excellent. {}s did the trick and all is as I wanted.
        At this point I know it seems churlish but it would have been 'nice' if the picutre could have been 'tied' to a
        cell so that when other cells sizes changed the picutre moves as well.
        However, I can do exactly what I wanted to do so all is well.
        Many thanks.
        you use braces for attributes, arrow for methods, seems simple

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-08-21 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls