//create a new workbook var workbook = new GrapeCity.Documents.Excel.Workbook(); //When XlsxOpenOptions.DoNotRecalculateAfterOpened means GrapeCity Documents for Excel will just read all the cached values without calculating again after //opening an Excel file. //Change the path to the real file path when open. XlsxOpenOptions options = new XlsxOpenOptions { DoNotRecalculateAfterOpened = true }; workbook.Open(System.IO.Path.Combine(this.CurrentDirectory, "source.xlsx"), options);
' Create a new Workbook Dim workbook As New Workbook 'When XlsxOpenOptions.DoNotRecalculateAfterOpened means GrapeCity Documents for Excel will just read all the cached values without calculating again after 'opening an Excel file. 'Change the path to the real file path when open. Dim options As New XlsxOpenOptions With { .DoNotRecalculateAfterOpened = True } workbook.Open(IO.Path.Combine(CurrentDirectory, "source.xlsx"), options)