Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Adding pictures to Excel

by davies (Prior)
on Jan 23, 2010 at 14:02 UTC ( [id://819186]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        ActiveSheet.Pictures.Insert( _
            "C:\Documents and Settings\All Users\Documents\My Pictures\Sam
    +ple Pictures\Blue hills.jpg" _
    ...
            "C:\Documents and Settings\All Users\Documents\My Pictures\Sam
    +ple Pictures\Sunset.jpg" _
            ).Select
        Selection.ShapeRange.IncrementTop 290.25
    
  2. or download this
    Dim picCurrent As Picture
    Dim shtPics As Worksheet
    ...
    Set picCurrent = shtPics.Pictures.Insert(ksPic2)
    picCurrent.Top = 130
    picCurrent.Left = 280
    
  3. or download this
    use strict;
    use warnings;
    ...
    $picCurrent = $shtPics->Pictures->Insert(second pic);
    $picCurrent->Top = 130;
    $picCurrent->Left = 280;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2024-04-18 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found