Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Excel/Pivot Table - auto refresh how?
I'm loading an excel spread sheet with an embedded pivot table. Getting the excel work book to load is easy, but it seems to require that you manually "refresh data" after the workbook loads. The spreadsheet automatically imports new data from a text file, but the new data doesn't show until you manually refresh...
I'm loading the workbook like this:
sFile = "d:excelstuffpivot.xls"
set xlWorkBk = xlApp.Workbooks.Open(sFile)
xlApp.visible = true
easy as pie, right? How do I make the pivot.xls automatically refresh the cell contents?
0 · ·