¦p¦ó¥Î¼Æ²ÕOR ¨ä¥L¤èªk¥[³t?
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
        
|
¦^´_ 9# basarasy
קï§A1¼Óªºµ{¦¡¦p¤U-
- Private Sub Ex()
- Dim Ps, Pc, A
- With Application.FileDialog(msoFileDialogOpen)
- .Title = "´M§ä¹Ï¤ùÀÉ"
- .AllowMultiSelect = True '¦h«¿ï¨úÀÉ®×
- .ButtonName = "¶}±Ò¹Ï¤ùÀÉ"
- .InitialView = msoFileDialogViewThumbnail
- .Filters.Add "Images", "*.gif; *.jpg; *.jpeg", 1
- .FilterIndex = 1
- If .Show = False Then
- MsgBox "¨S¦³¿ï¾Ü¥ô¦ó¹Ï¤ùÀÉ", vbOKOnly + vbExclamation: Exit Sub
- Else
- Set Ps = .SelectedItems
- End If
- End With
- Application.ScreenUpdating = False
- With Sheet3
- .Range("A2:d20000").Clear 'A2¥H¤U ²M°£ (¥þ³¡)
- .Range("A2:d20000").EntireRow.AutoFit '«ì´_¬°¼Ð·Ç¦C°ª
- .Pictures.Delete
- Set A = .Range("A2")
- For Each Pc In Ps
- A.Value = A.Row - 1
- .Hyperlinks.Add Anchor:=A.Cells(1, 3), Address:=Pc, TextToDisplay:=Pc
- With .Pictures.Insert(Pc)
- .Height = 34
- .Width = 54
- .Left = A.Offset(, 3).Left
- .Top = A.Offset(, 3).Top
- End With
- Set A = A.Offset(1)
- Next
- '.Shapes.SelectAll
- .Pictures.Placement = xlMoveAndSize
- .Range("a1:c1").EntireColumn.AutoFit '¦Û°Ê½Õ¾ãÄæ¼e
- .Range("A2:a" & .Range("A2").End(xlDown)).RowHeight = 34 '³]©w¦C°ª
- End With
- Sheet1.Select
- Application.ScreenUpdating = True
- ActiveSheet.Range("A2").Select
- MsgBox "´¡¤J§¹¦¨"
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|