Hello -
I use the below code to copy my current worksheet to a new workbook. That works fine.
I wanted to use this in another file now, but that file has Pivot Tables on the sheet. Is there an easy way to update this code to include flattening any Pivot Tables on the sheet?
Thanks for any guidance!!
Sub Copy_to_New_WB()
Sheets("Summary").Copy
End Sub
I use the below code to copy my current worksheet to a new workbook. That works fine.
I wanted to use this in another file now, but that file has Pivot Tables on the sheet. Is there an easy way to update this code to include flattening any Pivot Tables on the sheet?
Thanks for any guidance!!
Sub Copy_to_New_WB()
Sheets("Summary").Copy
End Sub