Help for this page

Select Code to Download


  1. or download this
    Dim picCurrent As Picture
    Dim shtPics As Worksheet
    ...
    
    picCurrent.Top = nVPos
    picCurrent.Left = nHPos
    
  2. or download this
    use strict;
    use warnings;
    ...
    $picCurrent = $shtPics->Pictures->Insert("C:\\Documents and Settings\\
    +All Users\\Documents\\My Pictures\\Sample Pictures\\Sunset.jpg");
    $picCurrent->{Top} = $nVPos;
    $picCurrent->{Left} = $nHPos;