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

¨Ï¥Îvba¦p¦ó´¡¤J©T©w¤j¤pªº¹Ï¤ù

¨Ï¥Îvba¦p¦ó´¡¤J©T©w¤j¤pªº¹Ï¤ù

¦pÃD¡C

§Ú³Ìªñ¦³ª¦¤å¦³¬Ý¨ì¤F¤@­Ó¥i¥H¦b¬Y­ÓÄæ¦ì¥´¤J¹Ï¤ùÀɦW´N¥i¥H´¡¤J·Q­n´¡¤Jªº¹Ï¤ù¡A¥i¬O½T¤£ª¾¹D¦p¦óÅý´¡¤Jªº¹Ï¤ù¬O©T©wªº¤j¤p¡C
§Ú·QÅý¨C¤@±i¹Ï¤ùªº¤j¤p¬O°ª5.3¤½¤À¡B¼e5.8¤½¤À¡Cvba½X¦p¤U¡G
Sub Put_Picture()
   On Error Resume Next
    For i = 1 To 14
    mm = Format(Cells(i, 11), "0")
    With ActiveSheet.Pictures.Insert(ThisWorkbook.Path & "\" & mm & ".jpg")
    .Height = Cells(i, 12).Height
    .Width = Cells(i, 12).Width
    .Top = Cells(i, 12).Top
    .Left = Cells(i, 12).Left
    .Height = 153.3
    .Width = 153.7
    End With

Next

End Sub

§Æ±æ¤j¤j¯à«üÂI°g¬z¡CÁÂÁ¡C

.LockAspectRatio = 0
.Width = 5.8 * 28.35
        .Height = 5.3 * 28.35

TOP

´ú¸Õ¨Ï¥Î¦¹¤èªk¡Aµo²{¤@­Ó°ÝÃD
Ãö©ó¦C°ª¡BÄæ¼e»P¹Ïªº¤Ø¤o¦³µL©T©w¤ñ¨Ò
¦poobird¶Wª© .Height = 5.3 * 28.35 ªº28.35 ´«ºâ¤½¤À

Sub Put_Picture_1()

   On Error Resume Next
    For i = 1 To 14
   
   Rows(i).RowHeight = 40  '¦C°ª
   Columns(12).ColumnWidth = 40 'Äæ¼e
   
    mm = Format(Cells(i, 11), "0")
   
    Application.Cells(i, 12).Select
   


    With ActiveSheet.Pictures.Insert(ThisWorkbook.Path & "\" & mm & ".jpg")
    .LockAspectRatio = msoFalse
    .Height = 5.3 * 28.35 ' 5.3 cm
    .Width = 5.8 * 28.35 '5.8 cm


    End With

TOP

        ÀR«ä¦Û¦b : §ïÅܦۤv¬O¦Û±Ï¡A¼vÅT§O¤H¬O±Ï¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD