- ©«¤l
- 2834
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2890
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-22
|
¥»©«³Ì«á¥Ñ ã´£³¡ªL ©ó 2019-8-6 10:09 ½s¿è
Excel 2007¥H¤W, µLªk¨Ï¥ÎPictures.Insert¤èªk¨Ó´¡¤J¹Ï¤ù
¨S±o´ú¸Õ, µy×:
Sub InsertFace2Cell()
Dim strFacePath As String, Shp As Shape
strFacePath = "C:\Users\DATA CENTER\Desktop\"
For iNum = 2 To Range("A65535").End(xlUp).Row
With Range("C" & iNum)
Set Shp = ActiveSheet.Shapes.AddPicture(strFacePath & Range("A" & iNum) & ".jpg", 0, 1, .Left, .Top, 75, 11.88)
.Height = Shp.Height
End With
Next iNum
End Sub
=============================== |
|