Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^3: Adding pictures to Excel

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

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

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;

Replies are listed 'Best First'.
Re^4: Adding pictures to Excel
by davies (Parson) on Jan 23, 2010 at 15:38 UTC
    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.


    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://819192]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2018-06-20 02:19 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.