Sub 在隔行插入图片大小调整为所在单元大小()
k = 1
For h = 1 To 10 Step 2
Range("A" & h).Select
ActiveSheet.Pictures.Insert("D:\My Documents\欢乐小爪.jpg").Select
Selection.Name = "图片" & k
ActiveSheet.Shapes("图片" & k).Top = ActiveSheet.Range("a" & h).Top
ActiveSheet.Shapes("图片" & k).Left = ActiveSheet.Range("a" & h).Left
ActiveSheet.Shapes("图片" & k).Height = ActiveSheet.Range("a" & h).Height
k = k + 1
Next
End Sub