Using VBA:
My spreadsheet inserts the formula to copy data from another spreadsheet that will have been selected by the user and could be in a normal file system or sharepoint. I don't know how to automatically create a data connection which may sort this problem.
I then force a Calculation, complete a Workbook.Refreshall, for Update the pivotable. Despite all that the data remains incorrect in the pivot. If, once the macro has exited, I then right click and select Refresh the table updates correctly. I recorded the code generated by doing the manual refresh and inserted that in the macro; it made no difference.
Any ideas about how to correct this apparent bug would be appreciated.
Regards
My spreadsheet inserts the formula to copy data from another spreadsheet that will have been selected by the user and could be in a normal file system or sharepoint. I don't know how to automatically create a data connection which may sort this problem.
I then force a Calculation, complete a Workbook.Refreshall, for Update the pivotable. Despite all that the data remains incorrect in the pivot. If, once the macro has exited, I then right click and select Refresh the table updates correctly. I recorded the code generated by doing the manual refresh and inserted that in the macro; it made no difference.
Any ideas about how to correct this apparent bug would be appreciated.
Regards