¦p¦ó¦bEXCEL 2010ª© ´¡¤J¾ãÓ¸ê®Æ§¨ªº¹Ï¤ù
- ©«¤l
- 3
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 10
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-6-5
- ³Ì«áµn¿ý
- 2013-1-17
|
¦p¦ó¦bEXCEL 2010ª© ´¡¤J¾ãÓ¸ê®Æ§¨ªº¹Ï¤ù
¦U¦ì¤j¤j:
¦bEXCEL 2003ª© ¥i¥H°õ¦æ´¡¤J¾ãÓ¸ê®Æ§¨ªº¹Ï¤ù, ¦ý¦bEXCEL 2010¤wµLªk°õ¦æ, n¦p¦ó§ï¼g©O? ÁÂÁÂÀ°¦£!
Sub PictureResize()
Application.ScreenUpdating = False
Dim p As Object
Dim i%, k&, h&
With Application.FileSearch
.LookIn = "D:\my Documents\My Pictures" '¸ê®Æ§¨¦Û¤v³]
.FileType = msoFileTypeAllFiles
.Filename = "*.jpg"
.Execute
If .Execute() > 0 Then
For i = 1 To .FoundFiles.Count
Set p = ActiveSheet.Pictures.Insert(.FoundFiles(i))
p.Left = Cells(i, 1).Left
p.Top = Cells(i, 1).Top
p.Width = Cells(i, 1).Width
p.Height = Cells(i, 1).RowHeight
Next
End If
End With
Set p = Nothing
Application.ScreenUpdating = True
End Sub |
|
|
|
|
|
|
- ©«¤l
- 3
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 10
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-6-5
- ³Ì«áµn¿ý
- 2013-1-17
|
|
|
|
|
|
|