D
Dave
I have written the following code which inserts a jpeg file in a cell
(B171)
If Range("R4") = "DW" Then
Range("B171").Value = "Dave Woodgate"
Range("B171").Select
ActiveCell.Select
ActiveSheet.Pictures.Insert("S:\Tsunami Axis\Purchase Orders\Sigs
\Dave Woodgate.JPG").Select
Selection.ShapeRange.PictureFormat.TransparentBackground = msoTrue
Selection.ShapeRange.PictureFormat.TransparencyColor = RGB(255,
255, 255)
Selection.ShapeRange.Fill.Visible = msoFalse
End If
this all works perfectly in 2003, however when the macro is run in
2007 the jpeg is inserted in B4(ish). How do I get it to line up with
the left top of B171? All help appreciated
Thanks
Dave
(B171)
If Range("R4") = "DW" Then
Range("B171").Value = "Dave Woodgate"
Range("B171").Select
ActiveCell.Select
ActiveSheet.Pictures.Insert("S:\Tsunami Axis\Purchase Orders\Sigs
\Dave Woodgate.JPG").Select
Selection.ShapeRange.PictureFormat.TransparentBackground = msoTrue
Selection.ShapeRange.PictureFormat.TransparencyColor = RGB(255,
255, 255)
Selection.ShapeRange.Fill.Visible = msoFalse
End If
this all works perfectly in 2003, however when the macro is run in
2007 the jpeg is inserted in B4(ish). How do I get it to line up with
the left top of B171? All help appreciated
Thanks
Dave