Ejemplo n.º 1
0
        ///////////////////////////////////////////////////////////////////////////
        //
        //  METHODS
        //
        ///////////////////////////////////////////////////////////////////////////
        #region METHODS

        /// <summary>
        /// Refreshes the All PivotTable reports from the source data.
        /// </summary>
        public void Refresh()
        {
            foreach (Microsoft.Office.Interop.Excel.PivotTable pvtbl in (Microsoft.Office.Interop.Excel.PivotTables)_xlSheet.PivotTables(Type.Missing))
            {
                pvtbl.RefreshTable();
            }
        }