Hi. I'm stomped. I wrote a nifty vba in Excel 2007 that lets people ebmbed an image from their c: drive as a proof that they've seen the and approve the spreadsheet. Everyone has their unique image on their c: drive, they click a button, and bam the image shows up...
We recently upgraded to excel 2010. My problem is that excel 2010 creates a link to the image rather than embeds it. So when I look at who approved the document, all the "signatures" are linked to my c: drive showing my unique image....help please! Here's the code I used:
ActiveSheet.Pictures.Insert ("c:\signature.Jpg")
ActiveSheet.Pictures(ActiveSheet.Pictures.Count).Select
With Selection
.ShapeRange.LockAspectRatio = msoFalse
.Height = 32
.ShapeRange.Width = 160
.Top = ActiveCell.Top + 3
.Left = ActiveCell.Left + 20
.Placement = xlMoveAndSize
End With
Thanks,
-Z-
We recently upgraded to excel 2010. My problem is that excel 2010 creates a link to the image rather than embeds it. So when I look at who approved the document, all the "signatures" are linked to my c: drive showing my unique image....help please! Here's the code I used:
ActiveSheet.Pictures.Insert ("c:\signature.Jpg")
ActiveSheet.Pictures(ActiveSheet.Pictures.Count).Select
With Selection
.ShapeRange.LockAspectRatio = msoFalse
.Height = 32
.ShapeRange.Width = 160
.Top = ActiveCell.Top + 3
.Left = ActiveCell.Left + 20
.Placement = xlMoveAndSize
End With
Thanks,
-Z-