Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Is it better to create a pivot table manually or via VBA? (Excel 2007)

$
0
0

I have a few pivot tables that I created manually and have a VBA code to refresh their data.  However, I was wondering which one is better?

            Create all the pivot tables manually and use their corresponding worksheets when needed

OR

           Create a pivot cache and when one table is needed, only then create that table using VBA

Which one will have a smaller file?

Also, I have data residing within the workbook, but whenever I open the workbook, I have a VBA code that checks to see if there is a data file (maybe updated) in a shared drive.  If so, it copies that worksheet into the current workbook and deletes the old data worksheet.  This allows anybody to do work offline, but I am not so sure if it is going to create any problems as this will probably sever the pivot table data links.

BTW, I am using Excel 2010, but others have 2007

Any suggestions?


Yesim


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>