ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ´¡¹Ï

¥»©«³Ì«á¥Ñ ­ã´£³¡ª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


===============================

TOP

¦^´_ 3# mdr0465


¤W¶Ç¥¿½TÀɮ׮榡¤Î³¡¥÷¤º®e, ¨Ã§¨±a¤Ö³\¬ÛÃö¹ÏÀÉ~~

TOP

        ÀR«ä¦Û¦b : ¯àµ½¥Î®É¶¡ªº¤H¡A¥²¯à´x´¤¦Û¤v§V¤Oªº¤è¦V¡C
ªð¦^¦Cªí ¤W¤@¥DÃD