I need a macro that will copy data from worksheet pivot...based on the data in column a I.e copy all the data above the txt Grand Total and paste into new workbook and save workbook to file path \\gpobal.yftuu\hfghj\ da
te & .xlsx file...
starting range is always A6:hx where is depend on column a and one less grand total txt..
Microsoft Excel
Last Comment
Rob Henson
8/22/2022 - Mon
Rob Henson
Is there anything else on the Pivot sheet?
If not you can just do a Worksheet Copy and then break the links or copy and paste all with values.
If that is what you want, let us know and I will sort the macro for you.
Thanks
Rob
route217
ASKER
Nothing else in pivot....
I do not trust the end users...I would kindly like the macro please
Rob Henson
OK, couple of questions then:
1) Name of sheet containing Pivot
2) Path & Filename required for Saved file
3) Do you want to get rid of Rows 1 to 5 above copied pivot and row containing Grand Total
1. Pivot - confirmed
2. \\global.test\heujejek\ ps I can amend...
3. Yes and yes in the new pasted workbook and paste into sheet 1 also re name sheet 1 as confirmed numbers and delete sheets 2 and 3.
If not you can just do a Worksheet Copy and then break the links or copy and paste all with values.
If that is what you want, let us know and I will sort the macro for you.
Thanks
Rob