本文是教全球若何导出Excel里的图片和一些小操作,冻结屏幕刷新、状况栏动态露出智力程度以及若何创建文献夹等。谎话不说【HNDB-047】女1人の穴に複数の男汁を注ぎ込む!!,上代码。
Sub 导出()
Application.ScreenUpdating = False
小初足交Dim strPath$, i&, ad$, sh, cht
On Error Resume Next
MkDir ThisWorkbook.Path & '\pic\'
strPath = ThisWorkbook.Path & '\'
For Each pic In ActiveSheet.Shapes
js = js + 1
If pic.Name <> '按钮' Then
ad = pic.TopLeftCell.Address
pic.Select
pic.CopyPicture
Set cht = ActiveSheet.ChartObjects.Add(0, 0, 50, 50)
With cht
.Chart.ChartArea.Select
.Chart.Paste
.Chart.Shapes(1).Height = 50
.Chart.Shapes(1).Width = 50
.Chart.Export (strPath & 'pic\' & Range(ad).Offset(0, -1).Value & '.jpg')
.Delete
End With
End If
DoEvents
Application.StatusBar = '正在惩处' & Format(js / ActiveSheet.Shapes.Count, '0.00%')
Next
MsgBox 'ok!'
Application.StatusBar = ''
Application.ScreenUpdating = True
End Sub
本站仅提供存储处事,通盘实质均由用户发布,如发现存害或侵权实质,请点击举报。