Hi all,
I am trying to record a macro to create two pivot tables on the same sheet.
I need your suggestions to optimize the code.
Also, there are two issues that I'll like to get sorted out
1. The macro always throws an error at the point where the pivot table is being inserted.
2. The number of rows vary every month and I don't know how to optimize the code to accordingly.
Please find attached the raw data and code for your reference.
Thanks and regards,![]()
Please Login or Register to view this content.
johnny_tc
Bookmarks