- ©«¤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
|
¦^´_ 7# whirlwind963
¥i°Ñ¦Ò ³o¸Ì http://forum.twbts.com/viewthread.php?tid=687
- Sub Macro1()
- Dim E As Shape, j, NN
- Sheets("Sheet1").Select
- For Each E In ActiveSheet.Shapes
- If E.Type = 13 Then E.Delete
- 'If InStr(E.Name, "Picture") Then E.Delete '³o¤]¥i¥H
- Next
- j = 2
- While Cells(j, "C") <> ""
- NN = Cells(j, "C")
- Cells(j, "D").Select
- ActiveSheet.Pictures.Insert( _
- NN). _
- Select
- Selection.ShapeRange.LockAspectRatio = msoTrue
- Selection.ShapeRange.Height = 100#
- Selection.ShapeRange.Width = 100#
- Selection.ShapeRange.Rotation = 0#
- With Selection
- .Placement = xlMoveAndSize
- .PrintObject = True
- End With
- j = j + 1
- Wend
- Range("C2").Select
- End Sub
½Æ»s¥N½X |
|