- ©«¤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
        
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2010-6-29 19:41 ½s¿è
¦^´_ 4# basarasy - Sub Ex()
- Dim Ps, Pc, A
- With Application.FileDialog(msoFileDialogOpen)
- .Title = "´M§ä¹Ï¤ùÀÉ"
- .AllowMultiSelect = True '¦h«¿ï¨úÀÉ®×
- .ButtonName = "¶}±Ò¹Ï¤ùÀÉ"
- .Filters.Add "Images", "*.gif; *.jpg; *.jpeg", 1
- .FilterIndex = 1
- If .Show = False Then
- MsgBox "¨S¦³¿ï¾Ü¹Ï¤ùÀÉ ???": Exit Sub
- Else
- Set Ps = .SelectedItems
- End If
- End With
- With ActiveSheet
- Set A = .[A1]
- .Pictures.Delete
- .[A:A].Clear
- End With
- For Each Pc In Ps
- With ActiveSheet.Pictures.Insert(Pc)
- With A
- .Offset(, 1).RowHeight = 40
- .Offset(, 1).ColumnWidth = 20
- ActiveSheet.Hyperlinks.Add Anchor:=A, Address:=Pc, TextToDisplay:=Pc
- End With
- .Height = A.Offset(, 1).Height
- .Width = A.Offset(, 1).Width
- .Left = A.Offset(, 1).Left
- .Top = A.Offset(, 1).Top
- End With
- Set A = A.Offset(1)
- Next
- End Sub
½Æ»s¥N½X |
|