Sub insertImg()
'
' 宏3 宏
'

'
    Dim i As Integer
    For i = 15 To 87
        Rows(i & ":" & i).RowHeight = 159.75
        imgUrl = Range("D" & i).Value

        Range("E" & i).Select
        ActiveSheet.Pictures.Insert( _
            imgUrl _
            ).Select
        ActiveWindow.SmallScroll Down:=1
        Selection.ShapeRange.ScaleWidth 0.7563636745, msoFalse, msoScaleFromTopLeft
        Selection.ShapeRange.ScaleHeight 0.7563636745, msoFalse, msoScaleFromTopLeft
    
    Next
    
    
    
    
    

   

End Sub

 

相关文章:

  • 2021-12-06
  • 2021-07-16
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2021-10-22
  • 2021-12-09
  • 2021-11-06
  • 2021-08-16
相关资源
相似解决方案