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

[µo°Ý] §Q¥Î°j°é¤À§O´¡¤J¹Ï¤ù¦Ü©Ò¦³ªº¤u§@­¶

[µo°Ý] §Q¥Î°j°é¤À§O´¡¤J¹Ï¤ù¦Ü©Ò¦³ªº¤u§@­¶

½Ð±Ð¦U¦ì¤j¨Ð
§Ú­ì¥»¿ý¥¨¶°±N10±i¹Ï¤ù¤À§O¦b¦Usheet¶K¨â±i¡A¥ÑSheet(1)~sheet(5)
¤U­±¬O§Ú¿ýªº¨ä¤¤¤@­Ó¥¨¶°¡A½Ð°Ý§Ú¦³¿ìªk¥Î°j°é¨Ó²¤Æ³oµ{¦¡½X¶Ü?
Sub Test()
    Sheets(1).Select

    Range("B9").Select
    ActiveSheet.Pictures.Insert("C:\test1.JPG").Select
    Selection.ShapeRange.LockAspectRatio = msoTrue
    Selection.ShapeRange.Height = 438.75
    Selection.ShapeRange.Width = 590.25
    Selection.ShapeRange.Rotation = 0#

    Range("J9").Select
    ActiveSheet.Pictures.Insert("C:\final1.JPG").Select
    Selection.ShapeRange.LockAspectRatio = msoTrue
    Selection.ShapeRange.Height = 438.75
    Selection.ShapeRange.Width = 590.25
    Selection.ShapeRange.Rotation = 0#
End Sub

³o­Ó¶·­n¥ýª¾¹D10­Ó¹Ï¤ùªº¦WºÙ¸ô®|
¦pªG¦hªº¸Ü¹Ï¤ù¦WºÙ³Ì¦n¦³³W«ß¥i¥H°µ°j°é

TOP

10±i¹Ï¤À§O´¡¤J5±i¤u§@ªí
¨C±i¤u§@ªí2±i¹Ï
  1. Sub ex()
  2. d = "D:\"
  3. f = "*.png"
  4. fs = Dir(d & f)
  5. i = 1
  6. Do Until fs = ""
  7.    With Sheets(i).Pictures.Insert(d & fs)
  8.    If s Mod 2 = 0 Then _
  9.    .Top = Sheets(i).[B9].Top: .Left = Sheets(i).[B9].Left _
  10.    Else .Top = Sheets(i).[J9].Top: .Left = Sheets(i).[J9].Left
  11.    End With
  12.    s = s + 1
  13.    If s Mod 2 = 0 Then i = i + 1
  14.    fs = Dir
  15. Loop
  16. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¤Ó¶§¥ú¤j¡B¤÷¥À®¦¤j¡B§g¤l¶q¤j¡A¤p¤H®ð¤j¡C
ªð¦^¦Cªí ¤W¤@¥DÃD