|WorkbookUpdateLinkedDataSource Method |
If this workbook contains external links to other data source,
Aspose.Cells will attempt to retrieve the latest data.
Aspose.Cells (in Aspose.Cells.dll) Version: 22.214.171.124 (19.10)
public void UpdateLinkedDataSource(
Public Sub UpdateLinkedDataSource (
exteralWorkbooks As Workbook()
member UpdateLinkedDataSource :
exteralWorkbooks : Workbook -> unit
- Type: Aspose.CellsWorkbook
External workbooks are referenced by this workbook.
If it's null, we will directly open the external linked files..
If it's not null,
we will check whether the external link in the array first;
if not, we will open the external linked files again.
If the method is not called before calculating formulas,
Aspose.Cells will use the previous information(cached in the file);
Please set CellsHelper.StartupPath,CellsHelper.AltStartPath,CellsHelper.LibraryPath.
And please set Workbook.FilePath if this workbook is from a stream,
otherwise Aspose.Cells could not get the external link full path sometimes.