我有以下VBA代码将现有工作表数据复制到新工作表,它可以正常工作,但它无法复制工作表中的图片文件(例如.jpg),我该如何复制图片文件呢?谢谢。
Set source2 = Worksheets("today").Range("A5:l68")
Sheets.Add After:=Sheets(Sheets.Count)
Set dest2 = ActiveWorkbook
Source2.Copy
With dest2.Sheets(2)
.Cells(1).PasteSpecial Paste:=8
.Cells(1).PasteSpecial Paste:=xlPasteValues
.Cells(1).PasteSpecial Paste:=xlPasteFormats
.Cells(1).Select
Application.CutCopyMode = False
End With