°Ô½ÃÆÇ°ú ¸ÂÁö ¾Ê´Â ±ÛÀÏ ¼öµµ ÀÖ½À´Ï´Ù. Á˼ÛÇÕ´Ï´Ù.
¿¢¼¿¿¡ »çÁø ³Ö´Â ÀÏÀÌ ¸¹Àºµ¥
¿¹Àü¿¡´Â Á÷Á¢ »çÁøÀ» ÄÁÆ®·Ñ c v ·Î ºÙ¿©³Ö±â ÇÑ µÚ »çÁøÅ©±â¸¦ Á¶ÀýÇß¾ú´Âµ¥
¿ì¿¬È÷ »çÁø³Ö´Â ¸ÅÅ©·Î¸¦ ¾Ë°Ô µÇ¾î¼ ÇöÀç »ç¿ëÁßÀÔ´Ï´Ù.
±×·±µ¥ »çÁøÀÌ ¼¿ Å©±â¿¡ ²Ë Â÷°Ô µé¾î°¡´Â °Ç ÁÁÀºµ¥
»çÁø ºñÀ²ÀÌ ¿øº»»çÁøÀ̶û ´Ù¸£°Ô µË´Ï´Ù.
±æÂßÇÑ »çÁøÀÌ ³Ð°Ô ÆìÁø´Ù°Å³ª ³ÐÀº »çÁøÀÌ À§ ¾Æ·¡·Î ´Ã·ÁÁø´Ù°Å³ª µîµî..
±×·¡¼ Ȥ½Ã ¼¿ Å©±â¸¦ ¹þ¾î³ªÁö ¾Êµµ·Ï Ç쵂 ÁÂ¿ì ºñÀ²ÀÌ ¿øº»»çÁøÀ̶û ´Þ¶óÁöÁö ¾Ê°Ô ÇÒ ¼ö ÀÖÀ»±î¿ä?
»çÁø °æ·Î¸¦ ÀúÀåÇÏ´Â °ÍÀÌ ¾Æ´Ï¶ó »çÁø ÀÚü°¡ ¿¢¼¿ÆÄÀÏ¿¡ ÀúÀåµÇ¾ß ÇÕ´Ï´Ù.
±âÁ¸¿¡ ¾²´ø ¸ÅÅ©·Î ÄÚµå´Â ÀÌ·¸½À´Ï´Ù.
Sub ImportPictureFile()
Dim strFile As String
Dim sht As Worksheet
Dim pic As Object
Dim rnginsert As Range
Application.ScreenUpdating = False
Set rnginsert = Selection
Set sht = ActiveSheet
strFile = Application.GetOpenFilename(filefilter:="¸ðµçÆÄÀÏ(*.*),*.*", Title:="»ðÀÔÇÒ ±×¸²À» ¼±ÅÃÇϼ¼¿ä")
If strFile = "False" Then
Exit Sub
End If
With rnginsert
Set pic = sht.Shapes.AddPicture(strFile, 1, 1, .Left, .Top, .Width, .Height)
pic.LockAspectRatio = msoFalse
.Cells(1).Select
End With
Application.ScreenUpdating = True
Set sht = Nothing: Set pic = Nothing: Set rnginsert = Nothing
End Sub
¿©±â±îÁö ÀÔ´Ï´Ù.
±×¸®°í Ãß°¡·Î Áö±ÝÀº ¼¿ Çϳª´ç ¸ÅÅ©·Î¸¦ °è¼Ó ½ÇÇàÇؼ »çÁøÀ» ³Ö´Âµ¥
¸¸¾à¿¡ ¼¿À» 3°³ Â÷·Ê·Î ¼±ÅÃÇÑ µÚ ¸ÅÅ©·Î¸¦ ½ÇÇàÇÏ°í »çÁøÀ» 3Àå ¼±ÅÃÇÏ¸é ¼¿À» ¼±ÅÃÇÑ ¼ø¼´ë·Î »çÁø3ÀåÀÌ »ðÀÔµÇ°Ô ÇÒ ¼öµµ ÀÖ³ª¿ä?
÷ºÎÆÄÀÏ¿¡ A3,A5,A7 C3,C5,C7 ¼¿¿¡ »çÁøÀ» »ðÀÔÇÏ´Â °Ì´Ï´Ù.
.Width = size