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

[µo°Ý] ½Ð°Ý¥i§_ ´¡¤J¹ÏÀɮɥi¥H§k¦XÀx¦sÄæ¦ì¤j¤p

©êºp~~ ­è¤~ªº·Ó¤ù ¨S¦³¥[¤Wµù¸Ñ..

²Ä¤@±i
°é¿ï·Ó¤ù,¨Ã©ì¦²¨ìexcel Àx¦s®æ¤¤

²Ä¤G±i
Â\©ñ¨ìÀx¦s®æ¤¤ªº·Ó¤ù·|¦Û°ÊÅܦ¨ "ÀHÀx¦s®æ¤j¤p¦ÓÅÜ"
¤£»Ý­n¦A¶i¦æ½Õ¾ã¤Î³]©w

²Ä¤T±i
¬Yºô­¶¤Wªº·Ó¤ù¤]¥i¥H³z¹L©ì¦²¨ìÀx¦s®æ«á¡A§¹¦¨¸ò«e­±¨BÆJ¤@¼Ëªºª¬ºA

TOP

¥Ø«e·Q­n°µ¥Xªº¨Ó¥\¯à¬°





©êºp¡A¦]¬°§Ú§¹¥þ¨S¦³VBA ªº°ò¦.. ·|¦A§V¤OK®Ñªº..
¦Ó¦³¦ìµ½¤ßªººô¤Íµ¹§Ú¤@¬qµ{¦¡½X.. ¦ý¬O§Ú¸ÕµÛ¥hkey in «á, ¦n¹³¨Ã¨S¦³¦¨¥\ ..
¦Aªþ¤W§Ú§@ªºexcel ÀÉ.. ½Ðºô¥S­ÌÀ°¤pªº¬Ý¬Ý°ÝÃD¥X¦b¨º©O¡H   ¬O§Ú¨ºÃä°õ¦æ¤W¦³¿ù»~¶Ü¡H¡H
Test for ¹Ï¤ù´¡¤J.zip (12.05 KB)
  1. Sub InsertPictureInRange(PictureFileName As String, TargetCells As Range)
  2. Dim p As Object
  3. If Dir(PictureFileName) = "" Then Exit Sub
  4. Set p = ActiveSheet.Pictures.Insert(PictureFileName)
  5. With TargetCells
  6. p.Top = .Top
  7. p.Left = .Left
  8. .ColumnWidth = .ColumnWidth / .Width * p.Width
  9. .RowHeight = p.Height
  10. End With
  11. Set p = Nothing
  12. End Sub
½Æ»s¥N½X
  1. Sub TestInsertPictureInCell()
  2. On Error Resume Next
  3. For i = 1 To 10
  4. InsertPictureInRange "C:\Temp\Pic" & i, Range("A" & i)
  5. Next i
  6. End Sub
½Æ»s¥N½X

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2014-10-27 15:43 ½s¿è

¦^´_ 2# justinbaba
´¡¤J¹ÏÀɮɥi¥H§k¦XÀx¦sÄæ¦ì¤j¤p
°Ñ¦Ò³o²z

¦³¤°»ò¤èªk¥i¥H¤j¶qªº´¡¤J¹ÏÀɨìÀx¦s®æ¤§¤¤
§Aªº¤j¶q¹Ï¤ù¦b­þ¸Ì?
³Ì¦nªþ½d¨ÒÀɤW¨Ó
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

½Ð°Ý¦³°ª¤â¥i¥H¸Ñ´b¶Ü¡H «D±`·PÁÂ..

TOP

        ÀR«ä¦Û¦b : ¤f»¡¦n¸Ü¡B¤ß·Q¦n·N¡B¨­¦æ¦n¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD