All,
I have the following macro, which export the active worksheet to a new worksheet (new excel workbook/sheet “book 1”) (without the formulas, but with the columns width, values and formats.
My only issue is that I also have a picture in the active worksheet which don’t be copied to the new worksheet.
Can someone assist me with this?
Current Marco:
Public Sub ExcelExport()
Application.GoTo Reference:="Print_Area"
Selection.Copy
Workbooks.Add
Selection.PasteSpecial Paste:=xlPasteColumnWidths, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End Sub
Thanks in Advantage,
Best regards
Ellerd
I have the following macro, which export the active worksheet to a new worksheet (new excel workbook/sheet “book 1”) (without the formulas, but with the columns width, values and formats.
My only issue is that I also have a picture in the active worksheet which don’t be copied to the new worksheet.
Can someone assist me with this?
Current Marco:
Public Sub ExcelExport()
Application.GoTo Reference:="Print_Area"
Selection.Copy
Workbooks.Add
Selection.PasteSpecial Paste:=xlPasteColumnWidths, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End Sub
Thanks in Advantage,
Best regards
Ellerd